WreckLooks class final

The wrecks drawn: a black film as glossy as water for each slick of oil, placed where BurningWrecks.published says it lies. A heap of timbers is drawn by its fire, which the elements' view draws.

The view's half. It reads published rows and nothing of the world, so it draws the same wherever the wrecks are stepped. Oil's refractive index of about 1.5 reflects 4 % head on, as water's 1.33 reflects 2 %.

Constructors

WreckLooks(Scene scene, GraphicsDevice device)
Slicks drawn into scene, their mesh uploaded to device once.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scene → Scene
Where the slicks are drawn.
final

Methods

dispose() → void
Every slick taken out and the mesh let go.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(Iterable<BurningWreck> wrecks) → void
wrecks drawn: a slick made for each one of oil not drawn yet, each placed where it lies, and the slick of a wreck no longer among them taken out.
slickOf(int body) → MeshNode?
The slick drawn for the wreck of body, if one is: for a test, or a game that dresses it further.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited