Changes the velocity of an entity if it is at a screen edge.
Is used in tandem with Move.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities UpdateBehavior
DeltaEngine.Rendering2D SimplePhysics BounceIfAtScreenEdge
Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The SimplePhysics BounceIfAtScreenEdge type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimplePhysics BounceIfAtScreenEdge | Initializes a new instance of the SimplePhysics BounceIfAtScreenEdge class |
Methods
Name | Description | |
---|---|---|
Update | (Overrides UpdateBehavior Update(IEnumerable Entity ).) |
See Also