 
 		dirFace: (@ldir) ->
 
-		newMove: (d) ->
-			@queue[@queue.length] = d
-			return
-
-		moveDir: (n) ->
-			return @queue[n]
-
-		ppo: () ->
-			if @queue.length == 1
-				@queue.splice(0, 1, 4)
-			else
-				@queue.splice(0, 1)
+		chngState: (act) ->
+			@state = act
+
+		state: () ->
+			return @state
 
 	getFrame: (config) ->
 		this.chckMv(config)

	startGame: (config) =>
		ar = config.animation.length
		objArray = []
		if frameClock
			clearInterval(frameClock)
		for key,set of config.characters
			tmp = new charObj(imgArray[set.imgSet],0,config.grid.border+(config.grid.gridUnit*set.x),config.grid.border+(config.grid.gridUnit*set.y),set.xOff,set.yOff,set.xSize,set.ySize)
			objArray[objArray.length] = tmp
		frameClock = setInterval this.coffeederp(config),frameLength
		return



	#More documenation to be added when the code is more concrete and permanent
	###
	class charObj
		constructor: (@animarray,@dir,@xpos,@ypos,@xOff,@yOff,@xSize,@ySize) ->
			@ldir = @dir
			@state = 4

		absPos: (@xpos,@ypos) ->

