GameState#
- class GameState#
- property audio_buffer#
- property automap_buffer#
- property depth_buffer#
- property game_variables#
- property labels#
- property labels_buffer#
- property number#
- property objects#
- property screen_buffer#
- property sectors#
- property tic#
number - number of the state in the episode. tic - ingame time, 1 tic is 1/35 of second in the game world. Added in 1.1.1.
See also:
Data types used in GameState#
- class Label#
- property height#
- property object_angle#
- property object_id#
- property object_name#
- property object_pitch#
- property object_position_x#
- property object_position_y#
- property object_position_z#
- property object_roll#
- property object_velocity_x#
- property object_velocity_y#
- property object_velocity_z#
- property value#
- property width#
- property x#
- property y#
object_id - unique object ID, if both Labels and Objects information is enabled, this will be the same as id in corresponding Object.
object_name - ingame object name, many different objects can have the same name (e.g. Medikit, Clip, Zombie).
value - value that represents this particular object in labels_buffer.
x, y, width, height - describes bounding box of this particular object in labels_buffer. Added in 1.1.5.
See also:
- class Object#
- property angle#
- property id#
- property name#
- property pitch#
- property position_x#
- property position_y#
- property position_z#
- property roll#
- property velocity_x#
- property velocity_y#
- property velocity_z#
id - unique object ID.
name - ingame object name, many different objects can have the same name (e.g. Medikit, Clip, Zombie).
Added in 1.1.8.
See also:
x1, y1 - position of the line’s first vertex.
x2, y2 - position of the line’s second vertex.
is_blocking - is true, if line is a wall that can’t be passed.
Added in 1.1.8.
See also:
floor_height - height of the sector’s floor.
ceiling_height - height of the sector’s ceiling.
lines - contains list of line segments, that forms sector.
Added in 1.1.8.
See also:
- class ServerState#
- property player_count#
- property players_afk#
- property players_frags#
- property players_in_game#
- property players_last_action_tic#
- property players_last_kill_tic#
- property players_names#
- property tic#
ServerState is the main object returned by DoomGame.get_server_state
method, and it purpose is to get more information about the state of the multi-player game.
Added in 1.1.6.
See also: