YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
YATS.api.ICapsuleRenderer Interface Reference
Inheritance diagram for YATS.api.ICapsuleRenderer:
YATS.render.ItemCapsuleRenderer

Public Member Functions

void RenderCapsule (TileTube tube, ICapsule capsule, double x, double y, double z)
 

Detailed Description

ICapsuleRenderer is an API for capsule renderers, in case there was any doubt. Different ICapsule implementations render differently, ergo the need for a distinct renderer API.

Member Function Documentation

void YATS.api.ICapsuleRenderer.RenderCapsule ( TileTube  tube,
ICapsule  capsule,
double  x,
double  y,
double  z 
)

This method, when overridden, provides the protocol for rendering capsules.

Parameters
tubeA TileEntity (a TileTube) that locates the capsule.
capsuleA capsule, implementing ICapsule, that is to be rendered.
xA double indicating the x coordinate of the capsule.
yA double indicating the y coordinate of the capsule.
zA double indicating the z coordinate of the capsule.

Implemented in YATS.render.ItemCapsuleRenderer.


The documentation for this interface was generated from the following file: