コード例 #1
0
 public DKRambiCrateBrokenState(DKRambiCrate item)
 {
     this.item   = item;
     item.Sprite = ItemSpriteFactory.Instance.CreateDKRambiCrateOpeningSprite();
     item.Sprite.AnimationDelegate = this;
     SoundPool.PlaySound(Sound.RambiCrateOpen);
 }
コード例 #2
0
 public DKRambiCrateIdleState(DKRambiCrate item)
 {
     this.item   = item;
     item.Sprite = ItemSpriteFactory.Instance.CreateDKRambiCrateUnopenedSprite();
 }
コード例 #3
0
 public PlayerOpenRambiCrateCommand(IGameObject object1)
 {
     crate = (DKRambiCrate)object1;
 }