public Form1() { InitializeComponent(); MouseState = new MouseState { IsMouseButtonDown = false, MousePosition = new Point(-1, -1) }; KeyboardState = new KeyboardState { IsLeftKeyDown = false, IsRightKeyDown = false }; _timer.Enabled = true; _timer.Tick += new EventHandler(_timer_Tick); _timer.Start(); _timer.Interval = 350; }
public RunAloneGameController() { Standalone = true; MouseState = new MouseState(); KeyboardState = new KeyboardState(); }