Skip to content

Instantly share code, notes, and snippets.

@ScottLilly

ScottLilly/InventoryItem.cs Secret

Created Sep 5, 2018
Embed
What would you like to do?
101Code fixes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MTEngine
{
public class InventoryItem
{
public InventoryItem(Item item, int v)
{
Details = item;
Quantity = v;
}
public Item Details { get; set; }
public int Quantity { get; set; }
}
}
private void btnNorth_Click(object sender, EventArgs e)
{
MoveTo(_Miner.CurrentLocation.LocationNorth);
}
private void btnWest_Click(object sender, EventArgs e)
{
MoveTo(_Miner.CurrentLocation.LocationWest);
}
private void btnSouth_Click(object sender, EventArgs e)
{
MoveTo(_Miner.CurrentLocation.LocationSouth);
}
private void btnEast_Click(object sender, EventArgs e)
{
MoveTo(_Miner.CurrentLocation.LocationEast);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.