1 #pragma once 2 #ifndef CATA_SRC_TELEPORT_H 3 #define CATA_SRC_TELEPORT_H 4 5 class Creature; 6 7 namespace teleport 8 { 9 /** Teleports a creature to a tile within min_distance and max_distance tiles. Limited to 2D. 10 *bool safe determines whether the teleported creature can telefrag others/itself. 11 */ 12 bool teleport( Creature &critter, int min_distance = 2, int max_distance = 12, 13 bool safe = false, 14 bool add_teleglow = true ); 15 } // namespace teleport 16 17 #endif // CATA_SRC_TELEPORT_H 18