Start OnTouch
This commit is contained in:
@@ -24,13 +24,24 @@ public:
|
||||
Enum::SurfaceType::Value back;
|
||||
Enum::SurfaceType::Value left;
|
||||
Enum::SurfaceType::Value bottom;
|
||||
|
||||
//Shapes
|
||||
Enum::Shape::Value shape;
|
||||
|
||||
//OnTocuh
|
||||
Enum::ActionType::Value OnTouchAction;
|
||||
Enum::Sound::Value OnTouchSound;
|
||||
|
||||
//Variables
|
||||
Color3 color;
|
||||
bool canCollide;
|
||||
dBodyID physBody;
|
||||
dGeomID physGeom[3];
|
||||
bool singleShot;
|
||||
int touchesToTrigger;
|
||||
int uniqueObjectsToTrigger;
|
||||
int changeScore;
|
||||
int changeTimer;
|
||||
|
||||
//Getters
|
||||
Vector3 getPosition();
|
||||
|
||||
@@ -32,4 +32,10 @@ namespace Enum
|
||||
NoChange = 0, Increase = 1, Decrease = 2
|
||||
};
|
||||
}
|
||||
namespace Sound
|
||||
{
|
||||
enum Value {
|
||||
NoSound = 0, Victory = 1, Boing = 2
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user