@Override
	public void load(Core core) throws ResourceException {
		Texture texture = (Texture) ResourceService.getInstance(core).getResource(this.textureName);
		
		if (this.width == 0 || this.height == 0) {
			this.sprite = new SpriteVisual(core, this.textureName, texture.getImageWidth(), texture.getImageHeight());
		} else {
			this.sprite = new SpriteVisual(core, this.textureName, this.width, this.height);
		}
	}