PageRenderTime 17ms CodeModel.GetById 5ms app.highlight 9ms RepoModel.GetById 0ms app.codeStats 0ms

/src/aerys/minko/type/parser/collada/resource/image/data/AbstractImageData.as

https://bitbucket.org/HopeSky/mars_nd2d
ActionScript | 30 lines | 25 code | 5 blank | 0 comment | 0 complexity | d6f54e4565f50cc453fcf86a5b825348 MD5 | raw file
 1package aerys.minko.type.parser.collada.resource.image.data
 2{
 3	import aerys.minko.render.resource.texture.TextureResource;
 4
 5	public class AbstractImageData
 6	{
 7		protected var _path				: String;
 8		protected var _textureResource	: TextureResource
 9		
10		public function get path() : String
11		{
12			return _path;
13		}
14		
15		public function get textureResource() : TextureResource
16		{
17			return _textureResource;
18		}
19		
20		public function set textureResource(v : TextureResource) : void
21		{
22			_textureResource = v;
23		}
24		
25		public function AbstractImageData(path : String)
26		{
27			_path = path;
28		}
29	}
30}