| 1 |
/* |
| 2 |
* Copyright (C) 2004 Ivo Danihelka ([email protected]) |
| 3 |
* |
| 4 |
* This program is free software; you can redistribute it and/or modify |
| 5 |
* it under the terms of the GNU General Public License as published by |
| 6 |
* the Free Software Foundation; either version 2 of the License, or |
| 7 |
* (at your option) any later version. |
| 8 |
*/ |
| 9 |
#include "KeyControl.h" |
| 10 |
|
| 11 |
|
| 12 |
//----------------------------------------------------------------- |
| 13 |
/** |
| 14 |
* Default control are arrows. |
| 15 |
*/ |
| 16 |
KeyControl::KeyControl() |
| 17 |
{ |
| 18 |
m_up = SDLK_UP; |
| 19 |
m_down = SDLK_DOWN; |
| 20 |
m_left = SDLK_LEFT; |
| 21 |
m_right = SDLK_RIGHT; |
| 22 |
} |
| 23 |
|