public AnimationTool() { testingRectangle = new GameRectangle(400, 200, 100, 100); color = Color.CadetBlue; left = new ArmTool(); right = new ArmTool(); lleft = new ArmTool(); lright = new ArmTool(); textBox = new FileTextBox(); textBox.SetX(500); textBox.SetY(200); }
public WorldEditor() { cullMode = true; objects = new List<LevelObject>(); objects.Add(new LevelRectangle(300, 10, 100, 100)); draggingColor = 0; r = new GameRectangle(-15, -15, 15, 15); g = new GameRectangle(-15, -15, 15, 15); b = new GameRectangle(-15, -15, 15, 15); tool = new AnimationTool(); objects[0].SetColor(Color.White); ((LevelRectangle)objects[0]).SetBorderColor(Color.Black); objects.Add(new LightLevelCircle(400, 100, 200)); objects[1].SetColor(Color.White); textBox = new FileTextBox(); textBox.SetX(400); textBox.SetY(100); }