Bandidos
|
Classes | |
enum | WeaponType |
Public Member Functions | |
void | activateSpecial (int specialType) |
WeaponType | getWeaponType () |
void | startControl (int x, int y) |
void | inControl (int x, int y) |
void | endControl (int x, int y) |
void | clean () |
The interface which gives all the handels a weapon can be controlled with
void com.mygdx.game.entities.weapons.IWeapon.activateSpecial | ( | int | specialType | ) |
This activates the special ability of the weapon
specialType | is a user defines special type |
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.
void com.mygdx.game.entities.weapons.IWeapon.clean | ( | ) |
Makes the class ready for garbage collection.
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.
void com.mygdx.game.entities.weapons.IWeapon.endControl | ( | int | x, |
int | y | ||
) |
Where the touch is when the weapon control stops
x | position of the touch |
y | position of the touch |
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.
WeaponType com.mygdx.game.entities.weapons.IWeapon.getWeaponType | ( | ) |
Returns the weapon type of this weapon instance.
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.
void com.mygdx.game.entities.weapons.IWeapon.inControl | ( | int | x, |
int | y | ||
) |
Where the touch is while it is controlling the weapon
x | position of the touch |
y | position of the touch |
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.
void com.mygdx.game.entities.weapons.IWeapon.startControl | ( | int | x, |
int | y | ||
) |
Where the touch is when it starts controlling the weapon
x | position of the touch |
y | position of the touch |
Implemented in com.mygdx.game.entities.weapons.BaseBowWeapon.