C# Class GoodAI.Modules.School.Common.StandardConflictResolver

Datei anzeigen Open project: GoodAI/BrainSimulator

Public Methods

Method Description
CheckCollision ( GameObject SourceGameObject, GameObject TargetGameObject ) : int
GetLastUntouchingPosition ( MovableGameObject source, GameObject target, int &lastCollideResult ) : PointF
Resolve ( MovableGameObject mgo1, GameObject o2 ) : void
ResolveSubtype ( GameObject o1, GameObject o2 ) : bool
ReturnCoordinatesBetweenTwoPoints ( float SourceX, float SourceY, float TargetX, float TargetY, float blend ) : PointF
SetPinballReaction ( MovableGameObject mgo1, GameObject o2 ) : void
SetPlattformerReaction ( MovableGameObject mgo1, GameObject o2 ) : void

Method Details

CheckCollision() public static method

public static CheckCollision ( GameObject SourceGameObject, GameObject TargetGameObject ) : int
SourceGameObject GameObject
TargetGameObject GameObject
return int

GetLastUntouchingPosition() public method

public GetLastUntouchingPosition ( MovableGameObject source, GameObject target, int &lastCollideResult ) : PointF
source MovableGameObject
target GameObject
lastCollideResult int
return System.Drawing.PointF

Resolve() public method

public Resolve ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
return void

ResolveSubtype() public method

public ResolveSubtype ( GameObject o1, GameObject o2 ) : bool
o1 GameObject
o2 GameObject
return bool

ReturnCoordinatesBetweenTwoPoints() public static method

public static ReturnCoordinatesBetweenTwoPoints ( float SourceX, float SourceY, float TargetX, float TargetY, float blend ) : PointF
SourceX float
SourceY float
TargetX float
TargetY float
blend float
return System.Drawing.PointF

SetPinballReaction() public method

public SetPinballReaction ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
return void

SetPlattformerReaction() public method

public SetPlattformerReaction ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
return void