public void Remove(Sprite sprite) { sprites.Remove(sprite); }
public bool IsMouseRightNewClickingSprite(Sprite sprite) { if (IsMouseRightButtonNewPressed() && IsMouseOver(sprite)) { return true; } return false; }
public void Add(Sprite sprite) { sprites.Add(sprite); }
public bool IsMouseOver(Sprite sprite) { if ((_currentMouseState.X >= sprite.position.X) && _currentMouseState.X <= (sprite.position.X + sprite.Width) && _currentMouseState.Y >= sprite.position.Y && _currentMouseState.Y <= (sprite.position.Y + sprite.Height)) return true; return false; }