/**
 * Name: Unit script for unnamed game.
 * By:   FireFly (firefly.nu).
 * Date: 2009-04-22.
 */

	/*** prototype: UnitType ***/
function UnitType(class, mov, str, def) {
	this.class = class;
	this.mov = mov;
	this.str = str;
	this.def = def;
}

	/*** prototype: Unit ***/
function Unit(x, y, type) {
	this.x = x;
	this.y = y;
	this.type = type;
}