(SubgameEntity self, GameExportsImpl gameExports)
| 278 | public static EntThinkAdapter walkmonster_start_go = new EntThinkAdapter() { |
| 279 | public String getID() { return "walkmonster_start_go"; } |
| 280 | public boolean think(SubgameEntity self, GameExportsImpl gameExports) { |
| 281 | |
| 282 | if (0 == (self.spawnflags & 2) && gameExports.level.time < 1) { |
| 283 | M.M_droptofloor.think(self, gameExports); |
| 284 | |
| 285 | if (self.groundentity != null) |
| 286 | if (!M.M_walkmove(self, 0, 0, gameExports)) |
| 287 | gameExports.gameImports.dprintf(self.classname + " in solid at " |
| 288 | + Lib.vtos(self.s.origin) + "\n"); |
| 289 | } |
| 290 | |
| 291 | if (0 == self.yaw_speed) |
| 292 | self.yaw_speed = 40; |
| 293 | self.viewheight = 25; |
| 294 | |
| 295 | Monster.monster_start_go(self, gameExports); |
| 296 | |
| 297 | if ((self.spawnflags & 2) != 0) |
| 298 | Monster.monster_triggered_start.think(self, gameExports); |
| 299 | return true; |
| 300 | } |
| 301 | }; |
| 302 | |
| 303 | public static void walkmonster_start(SubgameEntity self, GameExportsImpl gameExports) { |
no test coverage detected