API? do yall have one yet?

Go down

API? do yall have one yet?

Post  dsmarsh on Mon Feb 02, 2009 8:59 pm

We need an api from yall that tells the gui when to end the game (when you register a hit)
avatar
dsmarsh

Posts : 54
Join date : 2009-01-08
Age : 32

View user profile

Back to top Go down

Re: API? do yall have one yet?

Post  dsmarsh on Tue Feb 03, 2009 7:09 pm

--This is the API for the Sensor Group to the Comm Group--

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.
avatar
dsmarsh

Posts : 54
Join date : 2009-01-08
Age : 32

View user profile

Back to top Go down

Re: API? do yall have one yet?

Post  memaier on Tue Feb 03, 2009 9:18 pm

That looks fine. We have a bool that we set to TRUE when hit that we can pass you. Thanks!

_________________
Mary E. Maier
avatar
memaier

Posts : 24
Join date : 2009-01-11

View user profile

Back to top Go down

Re: API? do yall have one yet?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum