PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/away3d/library/naming/IgnoreConflictStrategy.as

http://github.com/away3d/away3d-core-fp11
ActionScript | 23 lines | 19 code | 3 blank | 1 comment | 0 complexity | fa464f2d1a6ec3432d6a06510cd3ed4b MD5 | raw file
 1package away3d.library.naming
 2{
 3	import away3d.library.assets.IAsset;
 4	
 5	public class IgnoreConflictStrategy extends ConflictStrategyBase
 6	{
 7		public function IgnoreConflictStrategy()
 8		{
 9			super();
10		}
11		
12		public override function resolveConflict(changedAsset:IAsset, oldAsset:IAsset, assetsDictionary:Object, precedence:String):void
13		{
14			// Do nothing, ignore the fact that there is a conflict.
15			return;
16		}
17		
18		public override function create():ConflictStrategyBase
19		{
20			return new IgnoreConflictStrategy();
21		}
22	}
23}