Examples of DoorStatus


Examples of com.l2jfrozen.gameserver.model.actor.status.DoorStatus

  @Override
  public final DoorStatus getStatus()
  {
    if(super.getStatus() == null || !(super.getStatus() instanceof DoorStatus))
    {
      setStatus(new DoorStatus(this));
    }

    return (DoorStatus) super.getStatus();
  }
View Full Code Here

Examples of com.nebhale.letsmakeadeal.DoorStatus

    @RequestMapping(method = RequestMethod.POST, value = "/{gameId}/doors/{doorId}", consumes = MediaType.APPLICATION_JSON_VALUE, produces = {
        MediaType.APPLICATION_JSON_VALUE, MediaType.TEXT_XML_VALUE })
    ResponseEntity<Void> modifyDoor(@PathVariable Long gameId, @PathVariable Long doorId, @RequestBody Map<String, String> body)
        throws MissingKeyException, GameDoesNotExistException, IllegalTransitionException, DoorDoesNotExistException {
        DoorStatus status = getStatus(body);
        Game game = this.gameRepository.retrieve(gameId);

        if (DoorStatus.SELECTED == status) {
            game.select(doorId);
        } else if (DoorStatus.OPEN == status) {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.status.DoorStatus

    @Override
  public final DoorStatus getStatus()
    {
      if(super.getStatus() == null || !(super.getStatus() instanceof DoorStatus))
        setStatus(new DoorStatus(this));
      return (DoorStatus)super.getStatus();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.