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

Public Member Functions | Public Attributes | Private Attributes

ball Class Reference

Collaboration diagram for ball:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ball (char)
 ball (ball_base *)
 ball (const ball &)
void collide (ball *other)
void display ()
void exploded ()
squaregetboundary ()
floatpoint getcenter ()
float getmass ()
unsigned int getradius ()
unsigned int getserial ()
floatpoint getvelocity ()
int hitchopper ()
int ishostile ()
bool isinside (square &around)
balloperator= (const ball &)
void setboundary (square *b)
void setcenter (floatpoint c)
void setvelocity (floatpoint v)
void specialcollide (ball *other)
void specialcollideb (ball *other)
void update (float amount)

Public Attributes

ball_basedata

Private Attributes

unsigned int serial

Detailed Description

Definition at line 100 of file ball.h.


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

Generated by  Doxygen 1.6.0   Back to index