Exemple #1
0
 public abstract bool Intersecting(Hitbox box);
Exemple #2
0
 protected Entity(EntityID entityId, Hitbox hitbox, Vector2 position)
     : this(entityId, hitbox, new EntityData() { pos = new BoundedVector2(new BoundedFloat(position.x, 0, Terrain.Tiles.GetLength(0) - 1), new BoundedFloat(position.y, 0, Terrain.Tiles.GetLength(1) - 1)) })
 {
 }