Beispiel #1
0
 public bool IsInView(IDrawable drawable)
 {
     return IsInView(drawable.Position, drawable.Width, drawable.Height);
 }
Beispiel #2
0
 public void DrawWithoutTransform(IDrawable drawable)
 {
     _drawablesWithoutTransform.Add(drawable);
     _gameObjects.Add(drawable as IGameObject);
     drawable.Disposed += (sender, args) => _drawablesWithoutTransform.Remove(sender as IDrawable);
 }