Documentation ¶
Index ¶
- type ISpace
- type Space
- func (e *Space) Destroy()
- func (this *Space) GCPool()
- func (this *Space) GetID() uint64
- func (this *Space) Init() (err error)
- func (e *Space) Loop()
- func (e *Space) Looped()
- func (e *Space) Looping()
- func (e *Space) OnCreated(etype string, eid, dbid uint64, realPtr IEntity, spacePtr IEntities, fly bool, ...)
- func (e *Space) OnPanic(err error)
- func (this *Space) ReLoop()
- func (e *Space) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Space ¶
type Space struct { SimpleEntity DelayCallHost //对象管理器 *Entities MapID uint64 //地图ID //地图名字 MapName string //是否需要加载动态阻挡 IsObstacle bool //场景开始时间 StartTime time.Time //当前时间 CurrTime time.Time //时间轮 Timer *timerwheel.Timer //寻路算法有关 PathFindermgr pathfinder.IPathFinder // contains filtered or unexported fields }
场景基础
Click to show internal directories.
Click to hide internal directories.