PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/away3d/core/sort/EntitySorterBase.as

http://github.com/away3d/away3d-core-fp11
ActionScript | 21 lines | 12 code | 1 blank | 8 comment | 0 complexity | 31f3300643b0279b9bde38332ea42fbb MD5 | raw file
 1package away3d.core.sort
 2{
 3	import away3d.core.traverse.EntityCollector;
 4	import away3d.errors.AbstractMethodError;
 5
 6	/**
 7	 * EntitySorterBase provides an abstract base class to sort geometry information in an EntityCollector object for
 8	 * rendering.
 9	 */
10	public class EntitySorterBase
11	{
12		/**
13		 * Sort the potentially visible data in an EntityCollector for rendering.
14		 * @param collector The EntityCollector object containing the potentially visible data.
15		 */
16		public function sort(collector : EntityCollector) : void
17		{
18			throw new AbstractMethodError();
19		}
20	}
21}