Examples of DoorContent


Examples of com.nebhale.letsmakeadeal.DoorContent

        Set<Door> doors = new HashSet<Door>();

        int winner = RANDOM.nextInt(3);
        for (int i = 0; i < 3; i++) {
            Long id = this.idGenerator.getAndIncrement();
            DoorContent content = i == winner ? DoorContent.JUERGEN : DoorContent.SMALL_FURRY_ANIMAL;
            doors.add(new Door(id, content));
        }

        return doors;
    }
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.