Lines Matching refs:hotSpotSystem
155 HotSpotSystem hotSpotSystem = sSystemRegistry.hotSpotSystem;
157 if (hotSpotSystem != null) {
159 final int hitTileX = hotSpotSystem.getHitTileX(centerX);
160 final int hitTileY = hotSpotSystem.getHitTileY(parentObject.getPosition().y + 10.0f);
165 final int hotSpot = hotSpotSystem.getHotSpotByTile(hitTileX, hitTileY);
167 if (hotSpot >= HotSpotSystem.HotSpotType.NPC_GO_RIGHT && hotSpot <= HotSpotSystem.HotSpotType.NPC_SLOW) {
171 } else if (hotSpot == HotSpotSystem.HotSpotType.ATTACK && !mPauseOnAttack) {
174 } else if (hotSpot == HotSpotSystem.HotSpotType.NPC_RUN_QUEUED_COMMANDS) {
178 } else if (hotSpot > HotSpotSystem.HotSpotType.NONE) {
217 case HotSpotSystem.HotSpotType.WAIT_SHORT:
223 case HotSpotSystem.HotSpotType.WAIT_MEDIUM:
229 case HotSpotSystem.HotSpotType.WAIT_LONG:
235 case HotSpotSystem.HotSpotType.ATTACK:
247 case HotSpotSystem.HotSpotType.TALK:
266 case HotSpotSystem.HotSpotType.WALK_AND_TALK:
274 case HotSpotSystem.HotSpotType.TAKE_CAMERA_FOCUS:
280 case HotSpotSystem.HotSpotType.RELEASE_CAMERA_FOCUS:
288 case HotSpotSystem.HotSpotType.END_LEVEL:
296 case HotSpotSystem.HotSpotType.GAME_EVENT:
306 case HotSpotSystem.HotSpotType.NPC_GO_UP_FROM_GROUND:
312 case HotSpotSystem.HotSpotType.NPC_GO_UP:
318 case HotSpotSystem.HotSpotType.NPC_GO_DOWN_FROM_CEILING:
324 case HotSpotSystem.HotSpotType.NPC_GO_DOWN:
331 case HotSpotSystem.HotSpotType.NPC_GO_LEFT:
339 case HotSpotSystem.HotSpotType.NPC_GO_RIGHT:
348 case HotSpotSystem.HotSpotType.NPC_GO_UP_RIGHT:
355 case HotSpotSystem.HotSpotType.NPC_GO_UP_LEFT:
362 case HotSpotSystem.HotSpotType.NPC_GO_DOWN_RIGHT:
369 case HotSpotSystem.HotSpotType.NPC_GO_DOWN_LEFT:
376 case HotSpotSystem.HotSpotType.NPC_GO_TOWARDS_PLAYER:
393 case HotSpotSystem.HotSpotType.NPC_GO_RANDOM:
401 case HotSpotSystem.HotSpotType.NPC_STOP:
406 case HotSpotSystem.HotSpotType.NPC_SLOW:
410 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_1:
411 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_2:
412 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_3:
413 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_4:
414 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_5:
415 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_1:
416 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_2:
417 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_3:
418 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_4:
419 case HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_5:
422 case HotSpotSystem.HotSpotType.NONE:
445 mDialogIndex = hitSpot - HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_1_1;
447 if (hitSpot >= HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_1) {
449 mDialogIndex = hitSpot - HotSpotSystem.HotSpotType.NPC_SELECT_DIALOG_2_1;
454 int result = HotSpotSystem.HotSpotType.NONE;
462 int result = HotSpotSystem.HotSpotType.NONE;