public Camera(FNGame game) : base(game) { _cam = _scene.AddCameraSceneNodeFPS(_scene.RootNode, 100f, .2f, -1); _cam.Position = new Vector3Df(-20, 20, -30); _cam.Target = new Vector3Df(0, 0, 0); game.OnKeyEvent += game_OnKeyEvent; }
public FNBase(FNGame game) { _driver = game.Driver; _scene = game.Scene; _gui = game.Gui; game.OnUpdate += OnUpdate; }
static void Main(string[] args) { ActiveGame = new FNGame(); ActiveGame.Initialize(); ActiveGame.Run(); }