예제 #1
0
 public virtual void operateThis(ObjectOperatives pUser)
 {
     //因为网络部分需要延时处理,所以放在此处复制
     pUser.operatingObject = this;
     //if (objectControl)
     //    pUser.commandControl = objectControl;
     //if (objectGui)
     //    pUser.gui = objectGui;
     //return true;
 }
예제 #2
0
 public virtual void endOperate(ObjectOperatives pUser)
 {
     pUser.operatingObject = null;
     //pUser.commandControl = null;
 }
예제 #3
0
 public virtual bool canOperate(ObjectOperatives pUser)
 {
     return true;
 }