Indiefreaks.Xna.Logic.Command.CreateLocalCommand C# (CSharp) Method

CreateLocalCommand() public static method

public static CreateLocalCommand ( ClientCommand clientCommand ) : Command
clientCommand ClientCommand
return Command
        public static Command CreateLocalCommand(ClientCommand clientCommand)
        {
            return CreateLocalCommand(null, clientCommand, ExecutionFrequency.FullUpdate60Hz);
        }
        

Same methods

Command::CreateLocalCommand ( ClientCommand clientCommand, ExecutionFrequency frequency ) : Command
Command::CreateLocalCommand ( System.Condition condition, ClientCommand clientCommand ) : Command
Command::CreateLocalCommand ( System.Condition condition, ClientCommand clientCommand, ExecutionFrequency frequency ) : Command

Usage Example

示例#1
0
文件: Behavior.cs 项目: rc183/igf
 /// <summary>
 /// Adds a Command to this behavior that will be executed solely on the client
 /// </summary>
 /// <param name="clientCommand">The delegate to the code that will be executed by the client</param>
 /// <param name="condition"></param>
 protected void AddLocalCommand(Condition condition, Command.ClientCommand clientCommand)
 {
     AddCommand(Command.CreateLocalCommand(condition, clientCommand));
 }
All Usage Examples Of Indiefreaks.Xna.Logic.Command::CreateLocalCommand