I'm still planning on a more ambitious navigation mod, but this is a simple interim change to the existing navigation model that allows you to use the up/down keys to navigate directly to an avatar. This means that if you open your card hand & need to cast a spell that targets the enemy avatar, you can simply hit the up key a couple of times instead of navigating left (through potentially a huge number of cards if you're in a long, drawn out match).

This commit is contained in:
wrenczes@gmail.com
2010-10-18 04:01:18 +00:00
parent 832f11c153
commit 211deca011
5 changed files with 37 additions and 2 deletions

View File

@@ -104,6 +104,11 @@ ActionLayer * DuelLayers::actionLayer(){
return action;
}
GuiAvatars * DuelLayers::GetAvatars()
{
return avatars;
}
DuelLayers::DuelLayers() : nbitems(0) {}
DuelLayers::~DuelLayers(){