public abstract GetCollidableInstance ( ) : |
||
return |
public abstract EntityCollidable GetCollidableInstance();
///<summary> /// Constructs a new entity. ///</summary> ///<param name="shape">Shape to use with the entity.</param> ///<param name="mass">Mass of the entity. If positive, the entity will be dynamic. Otherwise, it will be kinematic.</param> public Entity(EntityShape shape, float mass) : this() { Initialize(shape.GetCollidableInstance(), mass); }