javaclient.structures
Class PlayerBumperGeomT

java.lang.Object
  extended by javaclient.structures.PlayerBumperGeomT

public class PlayerBumperGeomT
extends java.lang.Object

To query the geometry of a bumper array, give the following request, filling in only the subtype. The server will repond with the other fields filled in.
(see the player_bumper_geom structure from player.h)

Version:
Author:
Maxim A. Batalin & Radu Bogdan Rusu

Constructor Summary
PlayerBumperGeomT()
           
 
Method Summary
 short getBumperCount()
           
 PlayerBumperDefineT[] getData()
           
 void setBumperCount(short newbumpercount)
           
 void setData(PlayerBumperDefineT[] newdata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerBumperGeomT

public PlayerBumperGeomT()
Method Detail

getBumperCount

public short getBumperCount()
Returns:
the number of valid bumper definitions

setBumperCount

public void setBumperCount(short newbumpercount)
Parameters:
newbumpercount - the number of valid bumper definitions

getData

public PlayerBumperDefineT[] getData()
Returns:
an array of bumper geometries

setData

public void setData(PlayerBumperDefineT[] newdata)
Parameters:
newdata - array of bumper geometries