INNER CODE UNIT · Java

setValue

BSVogler/WurfelEngineSDK · core/src/main/java/editor/BlockDrawable.java:77

	protected void setValue(byte value) {
		this.block.setValue(value);
	}

	/**
	 *
	 * @return
	 */
	protected byte getValue() {
		return this.block.getValue();
	}

	@Override
	public void draw(Batch batch, float x, float y, float width, float height) {
		if (block != null && block.getSpriteId() != 0) {
			//block.setColor(new Color(1, 1, 1, 1));
			block.resetLight();
			block.render(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…