예제 #1
0
 public static Command Create(int id)
 {
     return(ResuableObjectFactory <Command> .Create(id));
 }
예제 #2
0
 //ZZWTODO 现在在客户端保存了所有的Command,因此没有回收
 #region 注册创建回收
 public static TCommand Create <TCommand>() where TCommand : Command, new()
 {
     return(ResuableObjectFactory <Command> .Create <TCommand>());
 }
예제 #3
0
 public static DamageModifier Create(int id)
 {
     return(ResuableObjectFactory <DamageModifier> .Create(id));
 }
예제 #4
0
 public static TDamageModifier Create <TDamageModifier>() where TDamageModifier : DamageModifier, new()
 {
     return(ResuableObjectFactory <DamageModifier> .Create <TDamageModifier>());
 }
예제 #5
0
 public static RenderMessage Create(int id)
 {
     return(ResuableObjectFactory <RenderMessage> .Create(id));
 }
예제 #6
0
 public static TRenderMessage Create <TRenderMessage>() where TRenderMessage : RenderMessage, new()
 {
     return(ResuableObjectFactory <RenderMessage> .Create <TRenderMessage>());
 }