public StageFactory(MegamanGame game) { this.content = game.Content; this.game = game; this.megaman = game.Megaman; enemySpriteFactory = new EnemySpriteFactory(content); itemSpriteFactory = new ItemSpriteFactory(content); }
public ControllerFactory(Scene scene, MegamanGame game, Megaman megaman) { this.scene = scene; this.game = game; this.megaman = megaman; bindings = new Dictionary<Tuple<Keys, Buttons>, ICommand>(); Reset(); }
public MenuChoice(String id, ContentManager content, String destination, MegamanGame game, Vector2 position, String text) { this.id = id; this.destination = destination; this.down = id; this.game = game; this.left = id; this.position = position; this.right = id; this.text = text; this.up = id; font = content.Load<SpriteFont>("Fonts/Menu_Font"); }