public static TMap LoadMap(string path) { TMap map = new TMap(); map.Triangles = new Triangle[4, 50, 25]; map.SquareSize = 60; return map; }
public MainForm() { InitializeComponent(); map = TMapLoader.LoadMap(""); tMapEditorControl.Map = map; tMapEditorControl.MouseDown += TMapEditorControl_MouseDown; tMapEditorControl.MouseMove += TMapEditorControl_MouseMove; tMapEditorControl.MouseWheel += TMapEditorControl_MouseWheel; }
public static void SaveMap(TMap map) { }