private static void Main(string[] args) { var renderer = new Renderer(); var inputHandler = new InputHandler(); var engine = new Engine(renderer, inputHandler); engine.Run(); }
public void IsEngineConstructorMakeInstanceOfEngine() { var renderer = new Renderer(); var input = new InputHandler(); var engine = new Engine(renderer, input); Assert.IsInstanceOfType(engine, typeof(Engine)); }
public void IsInputHandlerReturnsRightInstance() { var input = new InputHandler(); Assert.IsInstanceOfType(input, typeof(InputHandler)); }
public void IsEngineMakeStandartGameRules() { var renderer = new Renderer(); var input = new InputHandler(); var engine = new Engine(renderer, input); }