SimplePhysics BounceIfAtScreenEdge ClassDelta Engine Documentation
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

System Object
  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

public class BounceIfAtScreenEdge : UpdateBehavior

The SimplePhysics BounceIfAtScreenEdge type exposes the following members.

Constructors

  NameDescription
Public methodSimplePhysics BounceIfAtScreenEdge
Initializes a new instance of the SimplePhysics BounceIfAtScreenEdge class
Top
Methods

  NameDescription
Public methodUpdate (Overrides UpdateBehavior Update(IEnumerable Entity ).)
Top
See Also