예제 #1
0
 private ObjectCreatorToolManager(IObjectCreatorInterface creator_interface, GameObject parent_object)
 {
     tools    = new Dictionary <ObjectType, IObjectCreatorTool>();
     OnChange = (e, s) => { };
     tools.Add(ObjectType.LINE_GROUND, new GroundLineTool(creator_interface, parent_object));
     tools.Add(ObjectType.UP_VELOCITY, new UpArrowTools(creator_interface));
     tools.TryGetValue(ObjectType.LINE_GROUND, out this.current_tool);
 }
예제 #2
0
 public static void Init(IObjectCreatorInterface creator_interface, GameObject parent_object)
 {
     __instance = new ObjectCreatorToolManager(creator_interface, parent_object);
 }
예제 #3
0
 public UpArrowTools(IObjectCreatorInterface creator_interface) : base(creator_interface)
 {
 }
예제 #4
0
 public ObjectCreatorTool(IObjectCreatorInterface creator_interface)
 {
     this.creator_interface = creator_interface;
 }
예제 #5
0
 public GroundLineTool(IObjectCreatorInterface creator_interface, GameObject parent_object) : base(creator_interface)
 {
     this.parent_object = parent_object;
 }