Esempio n. 1
0
 public void Update(GameTime gameTime)
 {
     base.Update();
     if (cloud != null)
     {
         if (cloud.isActive) cloud.Update(this, gameTime);
         else cloud = null;
     }
 }
Esempio n. 2
0
 public void Special()
 {
     if (cloud != null) cloud = null;
     Vector2 v = new Vector2((int)(boundary.X + (boundary.Width * 2)), (int)(boundary.Y - boundary.Height));
     cloud = new Cloud(cloudTexture, v, this);
 }