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

mmb.engine.visuals.Visual Maven / Gradle / Ivy

Go to download

Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world. THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
package mmb.engine.visuals;

import java.awt.Graphics;

import com.github.davidmoten.rtree2.geometry.Geometry;

import mmb.menu.world.window.WorldFrame;

/**
 * @author oskar
 *
 */
public interface Visual {
	/**
	 * @return the geometry, in which the visual object fits
	 */
	public Geometry border();
	
	/**
	 * Renders the visual object in the window
	 * @param g
	 * @param frame
	 */
	public void render(Graphics g, WorldFrame frame);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy