예제 #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
파일: gui.cs 프로젝트: PasinduZee/tank_game
 public Gui(Map map)
 {
     InitializeComponent();
     sc = new BasicCommandSender();
     this.map = map;
 }