public DKRambiCrateBrokenState(DKRambiCrate item) { this.item = item; item.Sprite = ItemSpriteFactory.Instance.CreateDKRambiCrateOpeningSprite(); item.Sprite.AnimationDelegate = this; SoundPool.PlaySound(Sound.RambiCrateOpen); }
public DKRambiCrateIdleState(DKRambiCrate item) { this.item = item; item.Sprite = ItemSpriteFactory.Instance.CreateDKRambiCrateUnopenedSprite(); }
public PlayerOpenRambiCrateCommand(IGameObject object1) { crate = (DKRambiCrate)object1; }