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