コード例 #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>());
 }