Exemple #1
0
 public GameTexture(string name, Texture2D texture, PhysicsProperties pp = new PhysicsProperties(), GameProperties gp = null, GraphicsProperties ggp = new GraphicsProperties())
 {
     FriendlyName      = name;
     ActualTexture     = texture;
     PhysicsProperties = pp;
     if (gp == null)
     {
         GameProperties = new GameProperties(null, null, null, null, null);
     }
     else
     {
         GameProperties = gp;
     }
     GraphicsProperties = ggp;
 }