示例#1
0
        static void Main(string[] args)
        {
            try
            {

                Console.Title = "Mustank Console";
                Console.WriteLine("Client started...");
                Map map = new Map();
                Gui gui = new Gui(map);
                Application.Run(gui);

            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Console.ReadLine();
            }
        }
示例#2
0
 //set a pointer to the map
 public void setMap(Map map)
 {
     this.map = map;
 }
示例#3
0
 public Gui(Map map)
 {
     InitializeComponent();
     sc = new BasicCommandSender();
     this.map = map;
 }