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

Method G_InitEdict

game/src/main/java/jake2/game/SubgameEntity.java:235–244  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

233
234 // todo: replace with a constructor call?
235 void G_InitEdict(int i) {
236 inuse = true;
237 classname = "noclass";
238 gravity = 1.0f;
239 //e.s.number= e - g_edicts;
240 s = new entity_state_t(this);
241 s.number = i;
242 st = new ExtraSpawnProperties();
243 index = i;
244 }
245
246 public boolean setField(String key, String value) {
247 switch (key) {

Callers 3

G_SpawnMethod · 0.95
ClientBeginDeathmatchMethod · 0.80
ClientBeginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected