Package games.stendhal.server.entity.item

Examples of games.stendhal.server.entity.item.HouseKey


      for (final RPObject object : slot) {
        if (!(object instanceof HouseKey)) {
          continue;
        }

        final HouseKey key = (HouseKey) object;
        if (key.matches(getDoorId(), getLockNumber())) {
          // TODO: Remove the key naming support, and just return. 
          // The renaming code does not need to be here forever, just some
          // months, so that most of the player's keys get tagged with
          // an owner. Comment added 2009-03-13
          key.setup(getDoorId(), getLockNumber(), getOwner());
         
          return true;
        }
      }
    }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.item.HouseKey

Copyright © 2018 www.massapicom. 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.