Exemplo n.º 1
0
 public abstract bool Intersecting(Hitbox box);
Exemplo n.º 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)) })
 {
 }