All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zw201913.entity.Tile Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.github.zw201913.entity;

import java.util.LinkedList;
import java.util.List;

/**
 * @author zouwei
 * @className Tile
 * @date: 2022/8/18 下午2:10
 * @description:
 */
public class Tile extends Element {

	private int x;

	private int y;

	private int z;

	public Tile(int x, int y, int z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	@Override
	public List commandArgs() {
		List list = new LinkedList<>();
		list.add("TILE");
		list.add(String.valueOf(this.x));
		list.add(String.valueOf(this.y));
		list.add(String.valueOf(this.z));
		return list;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy