Obstacle Class Reference

[BlockOut Index] [BlockOut Heirarchy]


Contains the cubes of the obstacle and draws the border. More...

#include <Obstacle.h>

Inherits: Figure

Public Members

Protected Members


Detailed Description

Contains the cubes of the obstacle and draws the border.


void draw()

Draws the obstacle boundings and cubes.

bool isInsideBorder(const Figure& _fig)

Return true if _fig is inside border.

int removeLevelsWherePossible()

Removes possible levels and accumulate points.

Returns:
points accumulated on removing

Color colorBorder

Color of the border.

void removeCubesOnLevel(int level)

Removes all cubes on specified level and drops all higher level.

int countCubesOnLevel(int level)

Counts all cubes on specified level.


Documentation generated by skyhunter@Dagobah on Wed Sep 16 18:39:03 MEST 1998
Kdoc