static void Main(string[] args) { using (PokeSiGame game = new PokeSiGame()) { game.Run(); } }
public PokeSiGame() { instance = this; graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = PreferredWidth; graphics.PreferredBackBufferHeight = PreferredHeight; graphics.IsFullScreen = IsFullScreen; Keyboard = new KeyboardManager(this); Mouse = new MouseManager(this); Input.Initilize(this); this.IsMouseVisible = true; Content.RootDirectory = "Content"; // Framerate differs between platforms. TargetElapsedTime = TimeSpan.FromTicks(TimeSpan.TicksPerSecond / TargetFrameRate); screenManager = new ScreenManager(this); }
public static void Load(PokeSiGame game) { PixelBlanc = game.Content.Load <Texture2D>("pixelBlanc.png"); }
public static void Load(PokeSiGame game) { PixelBlanc = game.Content.Load<Texture2D>("pixelBlanc.png"); }
public static void Initilize(PokeSiGame game) { Game = game; }