#include <collidable.h>
Inherits Collidable.
Inherited by Bolt, and Spectre.
Inheritance diagram for IdCollidable:


Public Methods | |
| IdCollidable () | |
| The default constructor. More... | |
| IdCollidable (std::string filename, const Matrix &mat, int newId=-1) | |
| The constructor for Collidable that takes in a filename. More... | |
| void | setId (int newId) |
| int | getId () const |
Private Attributes | |
| int | id |
|
|
The default constructor.
00039 : id(-1), Collidable () {} |
|
||||||||||||||||
|
The constructor for Collidable that takes in a filename.
00042 : Collidable (filename, mat) , id (newId) { 00043 } |
|
|
00047 {
00048 return id;
00049 }
|
|
|
00044 {
00045 id=newId;
00046 }
|
|
|
|
1.2.15