src/ResourcePacks/AgeOfEmpires.php
public function isGaiaObject($id)
    {
        return $id >= Unit::CLIFF1 && $id <= Unit::CLIFF10
            || $id === Unit::GOLDMINE
            || $id === Unit::STONEMINE
            || $id === Unit::FORAGEBUSH;
    }
public function isGaiaObject($id)
    {
        return $id >= Unit::CLIFF1 && $id <= Unit::CLIFF10
            || $id === Unit::GOLDMINE
            || $id === Unit::STONEMINE
            || $id === Unit::FORAGEBUSH;
    }
public function isGaiaObject ( $ id ) { return $ id >= Unit :: CLIFF1 && $ id <= Unit :: CLIFF10 || $ id === Unit :: GOLDMINE || $ id === Unit :: STONEMINE || $ id === Unit :: FORAGEBUSH ; }
Checks whether a unit type ID is a GAIA object type. Used to determine
which objects to draw on a map.

@param int  $id  Unit type ID.
@return bool True if the unit type is a GAIA object, false otherwise.
Checks whether a unit type ID is a GAIA object type . Used to determine which objects to draw on a map .