Exemplo n.º 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();
 }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Tile tile = new Tile(location, TileType.Dirt);
     town.tiles.Add(tile);
     safelyClose();
 }