public InputComponent(PuzzlePathGame game) : base(game) { Source = new Subject<VirtualControllerState>(); // Skip duplicate state-steps. InputStates = Source.DistinctUntilChanged().Publish().RefCount(); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (PuzzlePathGame game = new PuzzlePathGame()) { game.Run(); } }