public DrawableGameObject(ContentManager content,GameObject parent, string textureName) : base(content,parent) { Texture = Content.Load<Texture2D>(textureName); }
public Tileset(ContentManager content,GameObject parent,int id) : base(content,parent) { Data = new TilesetData(id); Texture = content.Load<Texture2D>(Data.FileName); }
public PlatformerPlayer(ContentManager content,GameObject parent, string textureName) : base(content, parent, textureName) { }
public Map(ContentManager content,GameObject parent,int id) : base(content,parent) { Data = new MapData(id); Tileset = new Tileset(content,this, id); }
public void AddElement(GameObject obj) { Elements.Add(obj); }
public GameObject(ContentManager content, GameObject parent) { Content = content; Parent = parent; }