Closed j-wielg closed 6 months ago
Implement the scout attribute, which removes fog-of-war in a two-tile radius. See the Troop.clear_fog method in Classes/troop.gd to see how the attributes contribute to fog clearing.
Troop.clear_fog
Classes/troop.gd
See here for more info on attributes.
Requirements:
Attributes/Troops/Logic/attribute_4.gd
TroopAttribute
clear_fog
Implement the scout attribute, which removes fog-of-war in a two-tile radius. See the
Troop.clear_fog
method inClasses/troop.gd
to see how the attributes contribute to fog clearing.See here for more info on attributes.
Requirements:
Attributes/Troops/Logic/attribute_4.gd
TroopAttribute
class, and contain a comment labeling it as the "Scout" attributeclear_fog
function and return an array containing the tiles to clear