Rename Button to ButtonPressed

This commit is contained in:
Tobias Loose
2013-12-05 22:11:48 +01:00
parent 1194463349
commit 077ab10c05
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void DeckView::Update(float dt)
}
}
bool DeckView::Button(Buttons button)
bool DeckView::ButtonPressed(Buttons button)
{
switch(button)
{
+1 -1
View File
@@ -424,7 +424,7 @@ void GameStateDeckViewer::Update(float dt)
case JGE_BTN_DOWN:
if(last_user_activity > 0.2)
{
mView->Button(button);
mView->ButtonPressed(button);
last_user_activity = 0;
mStage = STAGE_WAITING;
}