Interface ICharacter
The character represents the movable entity within the collision environment.
Namespace: Mars.Components.Environments.Cartesian
Assembly: Mars.Components.dll
Syntax
public interface ICharacter : IPositionable, IEntity, IModelObject
Properties
| Improve this Doc View SourceExtent
Defines the spatial extent of the character.
Declaration
double Extent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceHandleCollision(ICharacter)
Is called on collision with another character.
Declaration
CollisionKind? HandleCollision(ICharacter other)
Parameters
Type | Name | Description |
---|---|---|
ICharacter | other | The other character that collides with this one. |
Returns
Type | Description |
---|---|
System.Nullable<CollisionKind> | The collision kind that represents the continuing action; null if no collision handle is defined. |