timbodude / project_alpha

repository
0 stars 0 forks source link

Buttons #11

Open timbodude opened 9 years ago

timbodude commented 9 years ago

I've been messing with the button class, and have added several different buttons to experiment with and also a group of buttons to activate the player's units so we can begin commanding them to do stuff.

The general buttons and player activate buttons don't do anything more than acknowledge that they were pressed for testing purposes.

Eventually we'll want to add hot-keys and such to make this more user friendly, but first I'd like to get a single place working to create player input.

timbodude commented 9 years ago

FYI - There's now a "Make It So" button for after a player is satisfied with the target locations assigned to units. Thinking of giving the ai a timer so slow players are forced to play. There's also a status line in unit info area to indicate what the unit is doing or if it is activated for targeting.