#include <gameinterface.h>
Facade object for the user interface to interact with the game world
bool Stark::GameInterface::skipCurrentSpeeches | ( | ) |
Skip currently playing speeches
void Stark::GameInterface::walkTo | ( | const Common::Point & | mouse | ) |
Make April try to go to the location under the cursor
bool Stark::GameInterface::itemHasAction | ( | Resources::ItemVisual * | item, |
int32 | action | ||
) |
Can the item be used for an action. -1 for all actions
int32 Stark::GameInterface::itemGetDefaultActionAt | ( | Resources::ItemVisual * | item, |
const Common::Point & | position | ||
) |
Get the item's default action
void Stark::GameInterface::itemDoAction | ( | Resources::ItemVisual * | item, |
uint32 | action | ||
) |
Do an action on the item
Common::String Stark::GameInterface::getItemTitle | ( | Resources::ItemVisual * | object | ) |
Get the item's name
Resources::ActionArray Stark::GameInterface::listActionsPossibleForObject | ( | Resources::ItemVisual * | item | ) |
List the actions available for an item in the current game state
Resources::ActionArray Stark::GameInterface::listStockActionsPossibleForObject | ( | Resources::ItemVisual * | item | ) |
List the stock actions available for an item in the current game state (hand, mouth, eye)
bool Stark::GameInterface::isAprilWalking | ( | ) | const |
Check if April is doing a walk movement
void Stark::GameInterface::setAprilRunning | ( | ) |
Make April run if she is walking
Common::Array<Common::Point> Stark::GameInterface::listExitPositions | ( | ) |
List all the exit positions