C# 클래스 GoodAI.Modules.School.Common.StandardConflictResolver

파일 보기 프로젝트 열기: GoodAI/BrainSimulator

공개 메소드들

메소드 설명
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

메소드 상세

CheckCollision() 공개 정적인 메소드

public static CheckCollision ( GameObject SourceGameObject, GameObject TargetGameObject ) : int
SourceGameObject GameObject
TargetGameObject GameObject
리턴 int

GetLastUntouchingPosition() 공개 메소드

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

Resolve() 공개 메소드

public Resolve ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
리턴 void

ResolveSubtype() 공개 메소드

public ResolveSubtype ( GameObject o1, GameObject o2 ) : bool
o1 GameObject
o2 GameObject
리턴 bool

ReturnCoordinatesBetweenTwoPoints() 공개 정적인 메소드

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

SetPinballReaction() 공개 메소드

public SetPinballReaction ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
리턴 void

SetPlattformerReaction() 공개 메소드

public SetPlattformerReaction ( MovableGameObject mgo1, GameObject o2 ) : void
mgo1 MovableGameObject
o2 GameObject
리턴 void