File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -539,6 +539,11 @@ class Entity : public script::ScriptObject
539
539
540
540
void addMoveHandlerToStream (KBEngine::MemoryStream& s);
541
541
void createMoveHandlerFromStream (KBEngine::MemoryStream& s);
542
+
543
+ /* *
544
+ 获得实体控制器管理器
545
+ */
546
+ INLINE Controllers* pControllers ()const ;
542
547
private:
543
548
/* *
544
549
发送teleport结果到base端
Original file line number Diff line number Diff line change @@ -205,6 +205,12 @@ INLINE void Entity::pWitness(Witness* w)
205
205
pWitness_ = w;
206
206
}
207
207
208
+ // -------------------------------------------------------------------------------------
209
+ INLINE Controllers* Entity::pControllers ()const
210
+ {
211
+ return pControllers_;
212
+ }
213
+
208
214
// -------------------------------------------------------------------------------------
209
215
INLINE EntityCoordinateNode* Entity::pEntityCoordinateNode ()const
210
216
{
You can’t perform that action at this time.
0 commit comments