Logo Search packages:      
Sourcecode: bastet version File versions  Download package

Public Member Functions | Private Attributes | Friends

Bastet::BlockPosition Class Reference

Collaboration diagram for Bastet::BlockPosition:
Collaboration graph

List of all members.

Public Member Functions

void Drop (BlockType bt, const Well *w)
int GetBaseY () const
 returns an y such that the block lies completely in [y,y+3]
const DotMatrix GetDots (BlockType b) const
bool IsOutOfScreen (BlockType bt) const
bool IsValid (BlockType bt, const Well *w) const
void Move (Movement m)
bool MoveIfPossible (Movement m, BlockType b, const Well *w)
bool operator== (const BlockPosition &p) const

Private Attributes

Orientation _orientation
Dot _pos


size_t hash_value (const BlockPosition &p)

Detailed Description

Definition at line 32 of file BlockPosition.hpp.

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

Generated by  Doxygen 1.6.0   Back to index