![]() |
SpaceRTS - Starter Pack
1.3
|
When implemented, the object can filter from a list of Selectables which ones will be finally selected. More...
Public Member Functions | |
IEnumerable< Selectable > | FilteringSelectablesByBox (IEnumerable< Selectable > source) |
Called when a selection box is performed. receives a collection of selectables that must be filtered when you don't want to select all of them. More... | |
IEnumerable< Selectable > | FilteringSelectablesByRay (IEnumerable< Selectable > source) |
Called when a selection ray is performed (moving the cursor over the screen). receives a collection of selectables that must be filtered when you don't want to select all of them. More... | |
When implemented, the object can filter from a list of Selectables which ones will be finally selected.
IEnumerable<Selectable> GameBase.ISelectableCriteria.FilteringSelectablesByBox | ( | IEnumerable< Selectable > | source | ) |
Called when a selection box is performed. receives a collection of selectables that must be filtered when you don't want to select all of them.
source | Collection of the current hovered selectables. |
Implemented in SpaceRTSKit.Core.HumanPlayerHandler.
IEnumerable<Selectable> GameBase.ISelectableCriteria.FilteringSelectablesByRay | ( | IEnumerable< Selectable > | source | ) |
Called when a selection ray is performed (moving the cursor over the screen). receives a collection of selectables that must be filtered when you don't want to select all of them.
source | Collection of the current hovered selectables. |
Implemented in SpaceRTSKit.Core.HumanPlayerHandler.