Exemplo n.º 1
0
        public Ship() : base()
        {
            mass = 50;
            inertia = 500;

            angular_velocity = 0.1f;

            hull_sprite = ArtManager.NewArtSprite("ship");
        }
Exemplo n.º 2
0
 public void Paint( Color color )
 {
     if (color != null)
     {
         paint_sprite = ArtManager.GetSpriteResource(template.paint_art_resource).New();
         paint_sprite.color = color;
     }
     else
     {
         paint_sprite = null;
     }
 }