示例#1
0
文件: Command.cs 项目: temik911/audio
 /// <summary>
 /// 
 /// </summary>
 public Command( Invoker invoker )
 {
     Invoker		=	invoker;
     Game		=	invoker.Game;
     Delay		=	0;
     NoRollback	=	false;
     Terminal	=	false;
 }
示例#2
0
        /// <summary>
        /// 
        /// </summary>
        public Command( Invoker invoker )
        {
            Invoker		=	invoker;
            Game		=	invoker.Game;
            Delay		=	0;
            NoRollback	=	false;
            Terminal	=	false;
            Result		=	null;

            Name		=	GetType().GetCustomAttribute<CommandAttribute>().Name;
        }