Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
field_x Class Reference
Inheritance diagram for field_x:
Collaboration diagram for field_x:

Public Member Functions

bool is_deletable ()
factory_x get_factory ()
Public Member Functions inherited from map_object_x
 map_object_x (integer x, integer y, integer z, map_objects type)
bool is_valid ()
player_x get_owner ()
string get_name ()
way_types get_waytype ()
coord3d get_pos ()
string is_removable (player_x)
map_objects get_type ()
void mark ()
void unmark ()
bool is_marked ()

Detailed Description

Fields

Definition at line 360 of file api_map_objects.cc.

Member Function Documentation

◆ get_factory()

factory_x field_x::get_factory ( )
Returns
factory this field belongs to
See also
factory_x::get_field_count, factory_x::get_min_field_count

◆ is_deletable()

bool field_x::is_deletable ( )

Fields can only be deleted if enough are present.

See also
factory_x::get_field_count, factory_x::get_min_field_count
Returns
whether this one can be deleted

The documentation for this class was generated from the following file: