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