Arkanoid Remake  1.0
Public Member Functions | Public Attributes | List of all members
PlayArea Class Reference

Play area definition. More...

#include <PlayArea.h>

Inheritance diagram for PlayArea:
BoxObj

Public Member Functions

 PlayArea ()
 Constructor.
 
void PlaceShip (Ship &ship, const VecXy &pos)
 Place the ship inside the play area.
 
- Public Member Functions inherited from BoxObj
 BoxObj (double x=0.0, double y=0.0)
 Default constructor with optional intialization list.
 
 BoxObj (const BoxObj &obj)
 
VecXyPos ()
 Position.
 
const VecXyPos () const
 Position (read only)
 
VecXyOrigin ()
 Origin (min x,y corner)
 
const VecXyOrigin () const
 Origin (min x,y corner, read-only)
 
VecXySize ()
 Size.
 
const VecXySize () const
 Size (read only)
 
const double MinX () const
 Lower X value.
 
const double MinY () const
 Lower Y value.
 
const double MaxX () const
 Upper X value.
 
const double MaxY () const
 Upper X value.
 
const VecXy HSize () const
 Half size.
 
const double HSizeX () const
 Half size along X axis.
 
const double HSizeY () const
 Half size along Y axis.
 

Public Attributes

unsigned mColor
 Color used for background if an image is not available.
 

Additional Inherited Members

- Protected Attributes inherited from BoxObj
VecXy mPos
 
VecXy mSize
 
VecXy mOrigin
 

Detailed Description

Play area definition.

The PlayArea class implements the specific behaviour of a specialized box-shaped object, thus it is derived from the BoxObj class.


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