Package com.prineside.tdi2.events.game
package com.prineside.tdi2.events.game
-
ClassesClassDescriptionBuff is being added to an enemy.StatisticsSystem.getBestReplay()Enemy has reached its target (in most of the cases, the Base).An enemy is being spawned on the map.A post-event of a damage taken, can not be cancelled Important note: final damage is already calculated, use DamageRecord.getFactDamage() (regular damage represents only the initial damage)Triggered by GameStateSystemTriggered by GameStateSystemOne frame of the game state has been processed.(B) Triggered by EnemySystem.giveDamage() before the actual damage is calculated and any changes Some damage adjustments are made at this point (reduced damage from Abilities to bosses) and and the system has checked whether the tower can attack this enemy.Called each time a miner mines an item, even if the item won't be added (in which case the event will be cancelled from the beginning) Listeners can call S.loot.getOrCreateSourceMinedItems() and modify the miner's inventory directly.(B) Triggered by MinerSystem before any changes to the amount of resources.(A) Triggered by BuffProcessor after the actual buff removal(A) Triggered by TowerSystem after the actual change in tower's XPWave is the same as the current wave in WaveSystem.wave.