Exemplo n.º 1
0
 public CactusGroup(Texture2D spriteSheet, bool isLarge, GroupSize size, Trex trex, Vector2 position, GraphicsDevice graphicsDevice) : base(trex, position)
 {
     IsLarge = isLarge;
     Size    = size;
     Sprite  = GenerateSprite(spriteSheet);
     HitBox.Inflate(-3, -3);
     _gD   = graphicsDevice;
     Speed = 1;
 }