MCPcopy Create free account
hub / github.com/demoth/jake2 / SpawnDamage

Method SpawnDamage

game/src/main/java/jake2/game/GameCombat.java:150–152  ·  view source on GitHub ↗

SpawnDamage.

(int type, float[] origin, float[] normal, int damage, GameExportsImpl gameExports)

Source from the content-addressed store, hash-verified

148 * SpawnDamage.
149 */
150 private static void SpawnDamage(int type, float[] origin, float[] normal, int damage, GameExportsImpl gameExports) {
151 gameExports.gameImports.multicastMessage(origin, new PointDirectionTEMessage(type, origin, normal), MulticastTypes.MULTICAST_PVS);
152 }
153
154 private static int CheckPowerArmor(SubgameEntity ent, float[] point, float[] normal,
155 int damage, int dflags, GameExportsImpl gameExports) {

Callers 3

CheckPowerArmorMethod · 0.95
CheckArmorMethod · 0.95
T_DamageMethod · 0.95

Calls 1

multicastMessageMethod · 0.65

Tested by

no test coverage detected