Beispiel #1
0
 //Creates an Entity with the specified icon and image
 public Entity(char icon, string imageName) : this(icon)
 {
     Sprite = new SpriteEntity();
     Sprite.Load(imageName);
     AddChild(Sprite);
 }