//creates an Entity with the specified icon and image public Entity(char icon, string imageName) : this(icon) { Sprite = new SpriteEntity(); Sprite.Load(imageName); Icon = icon; OnUpdate += rotateall; AddChild(Sprite); }
//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); }