Esempio n. 1
0
 public MenuItem(float left, float top, List <Texture2D> background)
 {
     // TODO: Complete member initialization
     _Model = new My2DSprite(left, top, background);
     ((My2DSprite)_Model).Depth = 0.5f;
     ((My2DSprite)_Model).Type  = Object_Unit.MenuItem;
 }
 public Unit(float left, float top, List <Texture2D> textures)
 {
     // TODO: Complete member initialization
     _Model = new My2DSprite(left, top, textures);
     ((My2DSprite)_Model).Depth = 0.5f;
 }