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

Private Member Functions

bool is_valid ()

Detailed Description

Classes to access in-game objects. Creating an instance of such classes will not create an object in the game. Instead, these classes contain data to access the in-game object. If the in-game object disappears, then any access to it via these classes will fail. Use the method @r ingame_object::is_valid to check whether the in-game object is still alive.

Definition at line 211 of file api_simple.cc.

Member Function Documentation

◆ is_valid()

bool ingame_object::is_valid ( )
private
Returns
true if in-game object can still be accessed.

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