public AnimationVisual(Core core, String texRes, int rows, int columns, double width, double height) {
		super(Color.WHITE);
		this.texture = (Texture) ResourceService.getInstance(core).getResource(texRes);
		this.halfWidth = width / 2;
		this.halfHeight = height / 2;
		this.rows = rows;
		this.columns = columns;
		this.frameWidth = this.texture.getWidth() / columns;
		this.frameHeight = this.texture.getHeight() / rows;
		this.timer = TimeService.getInstance(core).getTimer();
		this.frame = 0;
		this.elapsedTime = 0;
	}