Inheritance: IHandlerObject
        private void TextCommand(SceneTextCommandInfo command)
        {
            var obj = new HandlerText(command, Entities);

            obj.Start();
            var name = command.Name ?? Guid.NewGuid().ToString();

            if (!objects.ContainsKey(name))
            {
                objects.Add(name, obj);
            }
        }
Exemple #2
0
 private void TextCommand(SceneTextCommandInfo command)
 {
     var obj = new HandlerText(command, Entities);
     obj.Start();
     var name = command.Name ?? Guid.NewGuid().ToString();
     if (!objects.ContainsKey(name)) objects.Add(name, obj);
 }