Beispiel #1
0
 public SpinyEggSprite(SpinyEgg spinyEgg)
 {
     this.SpinyEgg     = spinyEgg;
     this.Texture      = SpriteHolder.SpinyEgg;
     this.CurrentFrame = SpriteHolder.SpinyEggStartFrame;
     this.TotalFrames  = SpriteHolder.SpinyEggFrames;
     this.Width        = SpriteHolder.SpinyEggWidth;
     this.Height       = this.Texture.Height;
 }
Beispiel #2
0
 public SpinyEggCollisionResponder(SpinyEgg spinyEgg)
 {
     this.SpinyEgg = spinyEgg;
 }