/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

  1. package away3d.library.naming
  2. {
  3. import away3d.library.assets.IAsset;
  4. public class IgnoreConflictStrategy extends ConflictStrategyBase
  5. {
  6. public function IgnoreConflictStrategy()
  7. {
  8. super();
  9. }
  10. public override function resolveConflict(changedAsset:IAsset, oldAsset:IAsset, assetsDictionary:Object, precedence:String):void
  11. {
  12. // Do nothing, ignore the fact that there is a conflict.
  13. return;
  14. }
  15. public override function create():ConflictStrategyBase
  16. {
  17. return new IgnoreConflictStrategy();
  18. }
  19. }
  20. }