class Stk_AdmCtrl

A class which administrates control:
- keyboard
- joystick
- mouse (not yet implemented)
First you must ask to create a player with the Ask method

Public Methods

[more] Stk_AdmCtrl(Stk_Looper *)
constructor: we list all controler we can handle (joystick+keyboard)
[more]int Ask()
We ask for a player number
[more]Stk_Control* GiveControl(int)
Give the ctrl for the player number
[more]void Switch(int)
We switch ctrl for this number of player
[more] ~Stk_AdmCtrl()
destructor


Documentation

A class which administrates control:
- keyboard
- joystick
- mouse (not yet implemented)
First you must ask to create a player with the Ask method. Then you can this ctrl with the GiveControl method. If you wanna change his control, use the Switch method. By default, the first control assigned to the player is the keyboard.
o Stk_AdmCtrl(Stk_Looper *)
constructor: we list all controler we can handle (joystick+keyboard)

oint Ask()
We ask for a player number

oStk_Control* GiveControl(int)
Give the ctrl for the player number

ovoid Switch(int)
We switch ctrl for this number of player

o ~Stk_AdmCtrl()
destructor


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.