프로퍼티 | 타입 | 설명 | |
---|---|---|---|
aggro | bool | ||
heading | double | ||
playerLoc | Coord | ||
scanArc | double | ||
scanRange | int | ||
scanTime | double | ||
scanTimer | double | ||
speed | double | ||
turnSpeed | double | ||
visionRange | int |
메소드 | 설명 | |
---|---|---|
Enemy ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, string t, |
||
GetPath ( Coord startPos, Coord endPos, |
||
IsPointInPolygon ( List |
||
Move ( double elapsedTime, Coord end ) : bool | ||
Rotate ( double deg ) : void | ||
RotateTo ( double deg ) : void | ||
Search ( |
||
UpdateAI ( |
||
checkAdjacent ( |
public Enemy ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, string t, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
x | double | |
y | double | |
t | string | |
r | ||
direction | float | |
리턴 | Microsoft.Xna.Framework |
public GetPath ( Coord startPos, Coord endPos, |
||
startPos | Coord | |
endPos | Coord | |
m | ||
리턴 | List |
public IsPointInPolygon ( List |
||
triangle | List |
|
player | Coord | |
리턴 | bool |
public Move ( double elapsedTime, Coord end ) : bool | ||
elapsedTime | double | |
end | Coord | |
리턴 | bool |
public Search ( |
||
curNode | ||
startPos | Coord | |
endPos | Coord | |
nodeMap | ||
리턴 | bool |
public UpdateAI ( |
||
m | ||
elapsedTime | double | |
player | Coord | |
리턴 | bool |
public checkAdjacent ( |
||
curNode | ||
end | Coord | |
nodeMap | ||
리턴 | List |