Files @ fbc67919fa2a
Branch filter:

Location: ATITD-Tools/Desert-Paint-Lab/Reaction.cs

Jason Maltzen
README.md edited online with Bitbucket
using System;
namespace DesertPaintLab
{
	public class Reaction
	{
		int red = 0;
		int green = 0;
		int blue = 0;
		bool exported = false;		
		
		public int Red
		{
			get
			{
				return red;
			}	
		}
		
		public int Green
		{
			get
			{
				return green;	
			}
		}
		
		public int Blue
		{
			get
			{
				return blue;	
			}
		}
		
		public bool Exported
		{
			get
			{
				return exported;
			}
			set
			{
				exported = value;	
			}
		}
		
		public Reaction(int r, int g, int b)
		{
			red = r;
			green = g;
			blue = b;
		}
		
		public override string ToString()
		{
			return "[" + red + ", " + green + ", " + blue + "]";
		}
		
	}
}