public GreenLink(LegendOfZelda game, int id) { this.Sprite = PlayerSpriteFactory.Instance.CreateUpStillLinkSprite(); this.Color = "green"; this.State = new StillUpLinkState(this); this.Initialize(game, id); }
public DraggingRFWallmasterState(IEnemy wallmaster, IPlayer gamelink, LegendOfZelda game) : base(wallmaster) { this.enemy = wallmaster; enemy.Sprite = EnemySpriteFactory.Instance.CreateDraggingRFWallmasterSprite(); link = gamelink; link.State = new GrabbedLinkState(link); this.game = game; }
public GotoRoom13Command(LegendOfZelda game) { this.game = game; width = game.level.Map.MapSprite.SourceRectangle.Width; height = game.level.Map.MapSprite.SourceRectangle.Height; }
public SwapRoomCommand(LegendOfZelda game, IPlayer player, string direction) { this.game = game; this.swapDirection = direction; this.player = player; }
public PauseGameCommand(LegendOfZelda game) { this.game = game; }
public ResetGameCommand(LegendOfZelda game) { this.game = game; }
public QuitCommand(LegendOfZelda game) { this.game = game; }
public TriforceShard(LegendOfZelda game) { sprite = ItemSpriteFactory.GetTriforceShard(); Hitbox = sprite.Box; this.game = game; }
public QuitCommand(LegendOfZelda game1) { this.game1 = game1; }