Files @ b9934660c784
Branch filter:

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

Malkyne
This is the original source migrated over from Google Code, exactly as it appeared in 2010.
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 + "]";
		}
		
	}
}