stratega.ActionTarget

class stratega.ActionTarget

Used by Action to reference any possible type of target available in Stratega.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

create_continuous_action_target(...)

create_entity_action_target(entityID)

create_entity_type_action_target(entityTypeID)

create_object_target(entityID)

create_player_action_target(playerID)

create_position_action_target(position)

create_slot_object_action_target(entityID)

create_technology_entity_action_target(...)

create_tile_type_action_target(entityTypeID)

get_continuous_action_id(self)

get_entity(self, state)

get_entity_const(self, state)

get_entity_id(self)

get_entity_type(self, state)

get_object_id(self)

get_player(self, state)

get_player_const(self, state)

get_player_id(*args, **kwargs)

Overloaded function.

get_spawneable_entities(self, state)

get_technology_id(self)

get_tile_type(self, state)

get_type(self)

get_type_string(self)

get_value_string(self, state)

is_valid(self, state)

is_valid_with_targets(state, actionType, ...)