This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
input { | |
width: 80px; | |
} | |
</style> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.Xna.Framework; | |
namespace eindproject | |
{ | |
public class FPSMeter : DrawableGameComponent | |
{ | |
public FPSMeter(Game game) | |
: base (game) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadModel($type, $id, $errorMessage='This page does not exist', $errorNum=404) | |
{ | |
$model = CActiveRecord::model($type)->findByPk($id); | |
if ($model === null) | |
throw new CHttpException($errorNum, $errorMessage); | |
return $model; | |
} |