Beispiel #1
0
 public void PrintCursor()
 {
     _sprites.GetSprite("CursorFont").Color     = new Color(255, 255, 255, 128);
     _sprites.GetSprite("CursorFont").Position  = _view.Center;
     _sprites.GetSprite("CursorBoard").Position = _view.Center;
     _window.Draw(_sprites.GetSprite("CursorFont"));
     _window.Draw(_sprites.GetSprite("CursorBoard"));
 }
Beispiel #2
0
 public void Print(string name, Vector2f position)
 {
     _sprites.GetSprite(name).Scale    = new Vector2f(_sprites.GetSprite(name).Scale.X, _sprites.GetSprite(name).Scale.Y);
     _sprites.GetSprite(name).Position = position;
     _window.Draw(_sprites.GetSprite(name));
 }