C# 클래스 Sharplike.Mapping.AbstractPage

상속: IScheduledTask
파일 보기 프로젝트 열기: eropple/sharplike 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
address Vector3

보호된 프로퍼티들

프로퍼티 타입 설명
map AbstractSquare[,,]
size Vector3

공개 메소드들

메소드 설명
AbstractPage ( Int32 width, Int32 height, Int32 depth ) : System
AbstractPage ( Vector3 pageSize ) : System
Build ( ) : void
GetSquare ( Int32 x, Int32 y, Int32 z ) : AbstractSquare
LocateNeighbor ( Vector3 p, Direction d ) : AbstractSquare
RegisterAIDelegate ( Int64 timeToCall, IPageCallbacker target, PageActionDelegate callbackFunction ) : void

Allows an IPageCallbacker (the page itself or an Entity) to register a callback for some future point in time. Designed for AI calls from entities, hence the name.

RegisterAIDelegate ( PageCallbackInfo callbackInfo ) : void

Allows an IPageCallbacker (the page itself or an Entity) to register a callback for some future point in time. Designed for AI calls from entities, hence the name.

RemoveAIDelegate ( Int64 time, IPageCallbacker target ) : PageCallbackInfo

Removes a single AI delegate from the page's schedule.

RemoveAllAIDelegates ( IList targets ) : List

Removes all delegates from the specified IPageCallbackers from the page scheduler, and returns them. Used primarily to get a list of callbacks that must transition during a page move.

RemoveAllAIDelegates ( IPageCallbacker target ) : List

Removes all delegates from the specified IPageCallbacker from the page scheduler, and returns them. Used primarily to get a list of callbacks that must transition during a page move.

ScheduledAction ( ) : void
SetSquare ( Int32 x, Int32 y, Int32 z, AbstractSquare sq ) : void
this ( Int32 x, Int32 y ) : AbstractSquare
this ( Int32 x, Int32 y, Int32 z ) : AbstractSquare
this ( Point p ) : AbstractSquare
this ( Vector3 p ) : AbstractSquare

보호된 메소드들

메소드 설명
AbstractPage ( ) : System

메소드 상세

AbstractPage() 보호된 메소드

protected AbstractPage ( ) : System
리턴 System

AbstractPage() 공개 메소드

public AbstractPage ( Int32 width, Int32 height, Int32 depth ) : System
width System.Int32
height System.Int32
depth System.Int32
리턴 System

AbstractPage() 공개 메소드

public AbstractPage ( Vector3 pageSize ) : System
pageSize Vector3
리턴 System

Build() 공개 추상적인 메소드

public abstract Build ( ) : void
리턴 void

GetSquare() 공개 메소드

public GetSquare ( Int32 x, Int32 y, Int32 z ) : AbstractSquare
x Int32
y Int32
z Int32
리턴 AbstractSquare

LocateNeighbor() 공개 메소드

public LocateNeighbor ( Vector3 p, Direction d ) : AbstractSquare
p Vector3
d Direction
리턴 AbstractSquare

RegisterAIDelegate() 공개 메소드

Allows an IPageCallbacker (the page itself or an Entity) to register a callback for some future point in time. Designed for AI calls from entities, hence the name.
public RegisterAIDelegate ( Int64 timeToCall, IPageCallbacker target, PageActionDelegate callbackFunction ) : void
timeToCall Int64 The future tick to invoke the delegate at.
target IPageCallbacker The object that requests this AI call; used for later culling.
callbackFunction PageActionDelegate The delegate for the function to call.
리턴 void

RegisterAIDelegate() 공개 메소드

Allows an IPageCallbacker (the page itself or an Entity) to register a callback for some future point in time. Designed for AI calls from entities, hence the name.
public RegisterAIDelegate ( PageCallbackInfo callbackInfo ) : void
callbackInfo PageCallbackInfo The collected callback information.
리턴 void

RemoveAIDelegate() 공개 메소드

Removes a single AI delegate from the page's schedule.
public RemoveAIDelegate ( Int64 time, IPageCallbacker target ) : PageCallbackInfo
time Int64 The time at which the delegate to remove is running.
target IPageCallbacker The object owning the delegate to remove.
리턴 PageCallbackInfo

RemoveAllAIDelegates() 공개 메소드

Removes all delegates from the specified IPageCallbackers from the page scheduler, and returns them. Used primarily to get a list of callbacks that must transition during a page move.
public RemoveAllAIDelegates ( IList targets ) : List
targets IList The targets whose callbacks to remove.
리턴 List

RemoveAllAIDelegates() 공개 메소드

Removes all delegates from the specified IPageCallbacker from the page scheduler, and returns them. Used primarily to get a list of callbacks that must transition during a page move.
public RemoveAllAIDelegates ( IPageCallbacker target ) : List
target IPageCallbacker The target whose callbacks to remove.
리턴 List

ScheduledAction() 공개 메소드

public ScheduledAction ( ) : void
리턴 void

SetSquare() 공개 메소드

public SetSquare ( Int32 x, Int32 y, Int32 z, AbstractSquare sq ) : void
x Int32
y Int32
z Int32
sq AbstractSquare
리턴 void

this() 공개 메소드

public this ( Int32 x, Int32 y ) : AbstractSquare
x Int32
y Int32
리턴 AbstractSquare

this() 공개 메소드

public this ( Int32 x, Int32 y, Int32 z ) : AbstractSquare
x Int32
y Int32
z Int32
리턴 AbstractSquare

this() 공개 메소드

public this ( Point p ) : AbstractSquare
p Point
리턴 AbstractSquare

this() 공개 메소드

public this ( Vector3 p ) : AbstractSquare
p Vector3
리턴 AbstractSquare

프로퍼티 상세

address 공개적으로 프로퍼티

public Vector3 address
리턴 Vector3

map 보호되어 있는 프로퍼티

protected AbstractSquare[,,] map
리턴 AbstractSquare[,,]

size 보호되어 있는 프로퍼티

protected Vector3 size
리턴 Vector3