
class Reticule {
	
	private var baseClip:MovieClip;
	public var x:Number;
	public var y:Number;

	
	function init() {
		var reticuleDepth:Number = 11000;
		this.baseClip = _global.g.rootClip.mainStage.attachMovie("reticule", "reticule", reticuleDepth);

		this.x = _global.g.mainMgr.width/2;
		this.y = _global.g.mainMgr.height/2;
	}
	
	function mouseMoved(mousePosX, mousePosY) {
		this.x = mousePosX;
		
		//This keeps the cursor from going below the ship
		if(mousePosY >_global.g.mainMgr.height-52){
			this.y = _global.g.mainMgr.height-52;
		}else{
		
		this.y = mousePosY;
		}
	}
	
	function updateActualXYValues() {
		this.baseClip._x = this.x;
		this.baseClip._y = this.y;
	}
	
	function processTicks() {
		this.updateActualXYValues();
	}
	
	
}