C# Class NScumm.Sword1.Router

显示文件 Open project: scemino/nscumm

Public Methods

Method Description
RouteFinder ( int id, SwordObject megaObject, int x, int y, int dir ) : int
Router ( ObjectMan objMan, ResMan resMan ) : System
SetPlayerTarget ( int x, int y, int dir, int stance ) : void

Private Methods

Method Description
Check ( int x1, int y1, int x2, int y2 ) : int
CheckTarget ( int x, int y ) : int
ExtractRoute ( ) : void
GetRoute ( ) : int
HorizCheck ( int x1, int y, int x2 ) : int
LineCheck ( int x1, int y1, int x2, int y2 ) : int
LoadWalkResources ( SwordObject megaObject, int x, int y, int dir ) : int
NewCheck ( int status, int x1, int y1, int x2, int y2 ) : int
Scan ( int level ) : bool
SlidyPath ( ) : void
SlidyWalkAnimator ( WalkData walkAnim ) : void
SmoothCheck ( int &k, int best, int p, int dirS, int dirD ) : void
SmoothestPath ( ) : int
SolidPath ( ) : void
SolidWalkAnimator ( WalkData walkAnim ) : int
VertCheck ( int x, int y1, int y2 ) : int

Method Details

RouteFinder() public method

public RouteFinder ( int id, SwordObject megaObject, int x, int y, int dir ) : int
id int
megaObject SwordObject
x int
y int
dir int
return int

Router() public method

public Router ( ObjectMan objMan, ResMan resMan ) : System
objMan ObjectMan
resMan ResMan
return System

SetPlayerTarget() public method

public SetPlayerTarget ( int x, int y, int dir, int stance ) : void
x int
y int
dir int
stance int
return void