Пример #1
0
 public GreenLink(LegendOfZelda game, int id)
 {
     this.Sprite = PlayerSpriteFactory.Instance.CreateUpStillLinkSprite();
     this.Color  = "green";
     this.State  = new StillUpLinkState(this);
     this.Initialize(game, id);
 }
Пример #2
0
 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;
 }
Пример #4
0
 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;
 }
Пример #8
0
 public TriforceShard(LegendOfZelda game)
 {
     sprite    = ItemSpriteFactory.GetTriforceShard();
     Hitbox    = sprite.Box;
     this.game = game;
 }
Пример #9
0
 public QuitCommand(LegendOfZelda game1)
 {
     this.game1 = game1;
 }