コード例 #1
0
ファイル: ControllerEditor.cs プロジェクト: AyyTee/Aventyr
 public ControllerEditor(Size canvasSize, Input input)
     : base(canvasSize, input)
 {
     IsPaused = true;
     physicsStepSize = 1;
     ClosingLock = new object();
 }
コード例 #2
0
ファイル: Controller.cs プロジェクト: AyyTee/Aventyr
 public Controller(Size canvasSize, Input input)
 {
     CanvasSize = canvasSize;
     Input = input;
     IsHeadless = false;
 }
コード例 #3
0
ファイル: SimpleMovement.cs プロジェクト: AyyTee/Aventyr
 public SimpleMovement(Input input, float acceleration, float friction)
 {
     Acceleration = acceleration;
     Friction = friction;
     Input = input;
 }
コード例 #4
0
ファイル: Window.cs プロジェクト: AyyTee/Aventyr
 public Window()
     : base(800, 600, Renderer.DefaultGraphics, "Game", GameWindowFlags.FixedWindow)
 {
     InputExt = new Input(this);
 }