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

Method use

game/src/main/java/jake2/game/GameTarget.java:134–140  ·  view source on GitHub ↗
(SubgameEntity self, SubgameEntity other, SubgameEntity activator, GameExportsImpl gameExports)

Source from the content-addressed store, hash-verified

132 public String getID() { return "target_laser_use"; }
133
134 public void use(SubgameEntity self, SubgameEntity other, SubgameEntity activator, GameExportsImpl gameExports) {
135 self.activator = activator;
136 if ((self.spawnflags & 1) != 0)
137 target_laser_off(self);
138 else
139 target_laser_on(self, gameExports);
140 }
141 };
142
143 private static EntThinkAdapter target_laser_start = new EntThinkAdapter() {

Callers

nothing calls this directly

Calls 2

target_laser_offMethod · 0.95
target_laser_onMethod · 0.95

Tested by

no test coverage detected