Package cz.cuni.mff.abacs.burglar.logics.objects.positions

Examples of cz.cuni.mff.abacs.burglar.logics.objects.positions.Door


  ) {
    Set<Integer> rooms = new HashSet<Integer>();
   
    for(Instruction instr : instructions){
      if(instr._code == Instruction.code.ENTER_DOOR){
        Door subject = (Door)referenceMap.getPosition(instr._subjectId);
        int[] doorRooms = subject.getRoomIds();
        rooms.add(doorRooms[0]);
        rooms.add(doorRooms[1]);
      }
    }
   
View Full Code Here

TOP

Related Classes of cz.cuni.mff.abacs.burglar.logics.objects.positions.Door

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.