public OptionCollisionTile(Texture2D texture, Vector2 pos, char option, Game1.HandleOptionDelegate handleOptionDelegate) : base(texture, pos) { this.option = option; this.handleOptionDelegate = handleOptionDelegate; hitbox = new Rectangle((int)pos.X, (int)pos.Y, Game1.TILE_SIZE, Game1.TILE_SIZE); }
public ObjectHandler(Game game, Game1.HandleOptionDelegate handleOptionDelegate) { this.game = game; this.handleOptionDelegate = handleOptionDelegate; }