예제 #1
0
 /// <summary>
 /// Adds a command, and sets it up
 /// </summary>
 /// <param name="command">Command to be added</param>
 public void AddCommand(EditCommand command)
 {
     command.SetPreviousGetPixel(_command.GetPixel);
     command.SetTexture2DColor(_texture2DColor);
     command.Initialize();
     _command = command;
 }