Esempio n. 1
0
 public PlayerStandardBarrelCollisionCommand(IGameObject playerObj, IGameObject object1)
 {
     barrel = (DKStandardBarrel)object1;
     player = (Player)playerObj;
 }
 public DKStandardBarrelIdleState(DKStandardBarrel item)
 {
     this.item   = item;
     item.Sprite = ItemSpriteFactory.Instance.CreateDKStandardBarrelSprite();
 }
 public DKStandardBarrelBrokenState(DKStandardBarrel item)
 {
     this.item   = item;
     item.Sprite = ItemSpriteFactory.Instance.CreateDKStandardBarrelBrokenSprite();
     SoundPool.PlaySound(Sound.CollectibleBarrelBreak);
 }