예제 #1
0
 public void AddEntity(AbstractEntity beh)
 {
     beh.Belongs = this;
     beh.Initialize();
     lock (EntitiesInTheWorld)
         EntitiesInTheWorld.Add(beh);
     BehaviourController.StartUpdateBehaviour(beh);
 }