예제 #1
0
 public ClickMenu(Town town, Location location, Tile tile, Entity entity)
 {
     this.town = town;
     this.location = location;
     this.tile = tile;
     this.entity = entity;
     InitializeComponent();
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Tile tile = new Tile(location, TileType.Dirt);
     town.tiles.Add(tile);
     safelyClose();
 }