Class City

Class used to represent a city.

Part of:

package cityscape, class opengl-singleton-loadable

Direct Superclass

opengl-singleton-loadableLoadable specialization that only has one of its exact type in existance at a time.
When another ...

Slot

buildingsInitargs::buildings; Accessors:buildings-of.
nameInitargs::name; Accessors:name; Type:symbol.
sun-directionInitform:#(1.0 1.0 1.0 0.0), Initargs::sun-direction; Reader:sun-direction-of; Type:vector.
terrainInitform:(list seeds (list (random 1.0) (random 1.0) (random 1.0) (random 1.0))), Initargs::terrain; Reader:terrain-of.

Direct Method

add
draw
nuke-buildings
opengl-loadCode to be run when an opengl-loadable object is added to a running context or when the context c...

Other Method

opengl-context-addAdd an opengl-loadable object to the running context, or queue for when one is started.
opengl-unloadCode to be run as an OpenGL context is closed, or an object is removed from the context.