Ejemplo n.º 1
0
 public ControllerEditor(Size canvasSize, Input input)
     : base(canvasSize, input)
 {
     IsPaused = true;
     physicsStepSize = 1;
     ClosingLock = new object();
 }
Ejemplo n.º 2
0
 public Controller(Size canvasSize, Input input)
 {
     CanvasSize = canvasSize;
     Input = input;
     IsHeadless = false;
 }
Ejemplo n.º 3
0
 public SimpleMovement(Input input, float acceleration, float friction)
 {
     Acceleration = acceleration;
     Friction = friction;
     Input = input;
 }
Ejemplo n.º 4
0
 public Window()
     : base(800, 600, Renderer.DefaultGraphics, "Game", GameWindowFlags.FixedWindow)
 {
     InputExt = new Input(this);
 }