nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::Sea Class Reference

The sea around a land, in the land's look, which moves on its own. More...

#include <sea.h>

Public Member Functions

 Sea (const Terrain &terrain, const Look &look)
 ~Sea ()
 Sea (const Sea &)=delete
Sea & operator= (const Sea &)=delete
void Draw (const Camera3D &camera, const Atmosphere &atmosphere, float bands, float seconds) const
int triangles () const

Detailed Description

The sea around a land, in the land's look, which moves on its own.

Definition at line 12 of file sea.h.

Constructor & Destructor Documentation

◆ Sea() [1/2]

nanommo::Sea::Sea ( const Terrain & terrain,
const Look & look )

Definition at line 139 of file sea.cc.

◆ ~Sea()

nanommo::Sea::~Sea ( )

Definition at line 194 of file sea.cc.

◆ Sea() [2/2]

nanommo::Sea::Sea ( const Sea & )
delete

Member Function Documentation

◆ Draw()

void nanommo::Sea::Draw ( const Camera3D & camera,
const Atmosphere & atmosphere,
float bands,
float seconds ) const

Draws it as it is a number of seconds in, lit like the world, with the sun's light in bands, or smooth with no bands.

Definition at line 200 of file sea.cc.

◆ operator=()

Sea & nanommo::Sea::operator= ( const Sea & )
delete

◆ triangles()

int nanommo::Sea::triangles ( ) const
inline

Definition at line 25 of file sea.h.


The documentation for this class was generated from the following files: