public Entity(int x, int y, int size) { _position.X = x; _position.Y = y; _size = size; _toRemove = false; _hitBox = SwinGame.RectangleFrom(x, y, size, size); }
public virtual Rectangle GetHitBox() { _hitBox = SwinGame.RectangleFrom(_position.X, _position.Y, _size, _size); return(_hitBox); }