API? do yall have one yet?
2 posters
Page 1 of 1
API? do yall have one yet?
We need an api from yall that tells the gui when to end the game (when you register a hit)
dsmarsh- Posts : 54
Join date : 2009-01-08
Age : 38
Re: API? do yall have one yet?
--This is the API for the Sensor Group to the Comm Group--
I can do that or have a bool global variable that you can set true or false.
Either way is fine with us.
- Code:
// ECE 453 - Spring 2009
// Communications and Sensor API
// Describes the application programming interface between the communication
// group and sensor on the laptop.
//the Sensor group calls this function when there is a hit registered on either robot
//dead == true when robot was hit
void RoverDead(bool dead);
I can do that or have a bool global variable that you can set true or false.
Either way is fine with us.
dsmarsh- Posts : 54
Join date : 2009-01-08
Age : 38
Re: API? do yall have one yet?
That looks fine. We have a bool that we set to TRUE when hit that we can pass you. Thanks!
memaier- Posts : 24
Join date : 2009-01-11
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|