Rise
The Vieneo Province
buildings Class Reference

#include <buildings.h>

Collaboration diagram for buildings:
[legend]

Public Member Functions

 buildings (Viewscreen *ptr)
 
HRESULT Building (short t, short s) const
 

Static Public Member Functions

static bool CheckLayout (unsigned i, LOCALGRID2 localgrid2)
 

Private Attributes

Viewscreenviewscreen
 
Loggerlogger
 

Detailed Description

Definition at line 11 of file buildings.h.

Constructor & Destructor Documentation

◆ buildings()

buildings::buildings ( Viewscreen ptr)

Definition at line 8 of file buildings.cpp.

Member Function Documentation

◆ Building()

HRESULT buildings::Building ( short  t,
short  s 
) const
Todo:
should be a simpler way ... for example 0-1 x and 0-1 y ... if x+y>1 then we know we have crossed the line!

Definition at line 33 of file buildings.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckLayout()

bool buildings::CheckLayout ( unsigned  i,
LOCALGRID2  localgrid2 
)
static

Definition at line 16 of file buildings.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ logger

Logger* buildings::logger
private

Definition at line 20 of file buildings.h.

◆ viewscreen

Viewscreen* buildings::viewscreen
private

Definition at line 19 of file buildings.h.


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