BomberUnits
...a Unity learning project
CrossAoEScheme Class Reference
+ Inheritance diagram for CrossAoEScheme:
+ Collaboration diagram for CrossAoEScheme:

Public Member Functions

 CrossAoEScheme (Tile startTile, int range)
 
- Public Member Functions inherited from AoEScheme
 AoEScheme (Tile startTile)
 
void Evaluate (ref List< Tile > tileList)
 Adds the current tile if not blocking and not already added and propagates the effect recursively.
 

Protected Member Functions

override void Propagate (ref List< Tile > tileList)
 Prior to this, the start Tile is added to the list. More...
 

Private Attributes

int range
 

Additional Inherited Members

- Protected Attributes inherited from AoEScheme
Tile startTile
 

Detailed Description

Definition at line 5 of file CrossAoEScheme.cs.

Member Function Documentation

◆ Propagate()

override void Propagate ( ref List< Tile tileList)
inlineprotectedvirtual

Prior to this, the start Tile is added to the list.

Abort condition 1: max range reached. Abort condition 2: no new AoESchemes for Tiles are triggered.

Implements AoEScheme.

Definition at line 17 of file CrossAoEScheme.cs.


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