-
Notifications
You must be signed in to change notification settings - Fork 142
BombsManager
Sandrem edited this page Jan 28, 2018
·
1 revision
BombsManager is static class that is used for work with bombs.
- Work with mines.
When mine is set, it must be registed by method RegisterMines. As parameters, GenericBomb upgrade and List placed mine templates are passed.
When mine is detonated, UnregisterMine is called. As parameter, GameObject of placed mine is passed.
To get bomb-upgrade by GameObject of placed mine, use function GetMineByObject