protected Entity(DnK gameRef) { GameRef = gameRef; CollisionBoxes = new CollisionElements(); _scale = new Vector2(1f, 1f); IsAlive = true; }
protected Entity(GameRunner gameRef) { GameRef = gameRef; CollisionBoxes = new CollisionElements(); _scale = new Vector2(1f, 1f); IsAlive = true; }
internal bool Intersects(CollisionElements collisionBoxes) { return(CollisionBoxes.Intersects(collisionBoxes)); }