Game Development Reference
In-Depth Information
bool left,
bool middle,
bool right)
{
if (left)
{
LeftButtonState.BackColor = Color.LimeGreen;
}
else
{
LeftButtonState.BackColor = Color.Maroon;
}
if (middle)
{
MiddleButtonState.BackColor = Color.LimeGreen;
}
else
{
MiddleButtonState.BackColor = Color.Maroon;
}
if (right)
{
RightButtonState.BackColor = Color.LimeGreen;
}
else
{
RightButtonState.BackColor = Color.Maroon;
}
ListViewItem listItem = new ListViewItem();
listItem.Text = x.ToString();
listItem.SubItems.Add(y.ToString());
listItem.SubItems.Add(z.ToString());
CoordinateList.Items.Add(listItem);
Coordinates.Text = String.Format(“Coordinates ({0}, {1}, {2})”,
x,
y,
z);
Search Nedrilad ::




Custom Search