protected IvyGame() { State = GameState.Play; DrawCollisionRects = false; m_fpsValue = 0.0f; IvyGraphics = new GraphicsDeviceManager(this); IvyGraphics.PreferredBackBufferWidth = 800; IvyGraphics.PreferredBackBufferHeight = 600; IvyGraphics.ApplyChanges(); ///@todo is this needed? Content.RootDirectory = "Content"; if (m_instance != null) { // @todo error! exception? } m_instance = this; }
public Player(IvyGame game) : base(game) { }