  */
 package tetragon.view.render2d.display
 {
+	import tetragon.data.constants.PlayDirection;
+	import tetragon.data.constants.PlayMode;
 	import tetragon.view.render2d.animation.IAnimatable2D;
 	import tetragon.view.render2d.events.Event2D;
 	import tetragon.view.render2d.textures.Texture2D;

		}
		
		
		// TODO Add support for different play modes!
		public function get playMode():String
		{
			return _playMode;
		}
		public function set playMode(v:String):void
		{
			_playMode = v;
		}
		
		

			var numFrames:int = textures.length;
			
			_defaultFrameDuration = 1.0 / fps;
			_playMode = PlayMode.LOOP;
			_playDirection = PlayDirection.FORWARD;
			_loop = true;
			_playing = true;
			_currentTime = 0.0;
