예제 #1
0
 public void Prepare(ItemBase itemBase, Sprite sprite)
 {
     SpriteRenderer        = itemBase.SpriteRenderer;
     SpriteRenderer.sprite = sprite;
     FallAnimation         = itemBase.FallAnimation;
     FallAnimation.Item    = this;
 }
예제 #2
0
 public void Prepare(ItemBase itemBase, Sprite sprite)
 {
     SpriteRenderer     = AddSprite(sprite);
     FallAnimation      = itemBase.FallAnimation;
     FallAnimation.Item = this;
 }
예제 #3
0
 public RabbitCharacter(int id, int left, int top, int right, int bottom, int weight)
     : base(id, left, top, right, bottom, weight)
 {
     currentAnimation = new FallAnimation(this);
 }