public Draw ( Matrix world, Matrix view, Matrix projection ) : void | ||
world | Matrix | |
view | Matrix | |
projection | Matrix | |
return | void |
public void Draw(Matrix world, Matrix view, Matrix projection)
{
if (!visible && !hexgrid.GetWarpable().Contains(this)) {
color = Color.Black;
}
if (color == Color.Black) { return; }
world.Translation = world.Translation + getCenter();
HexModel.Draw(world, view, projection, color);
}