I am adding vitrual player in this way '
IUser user = new VirtualUser("0-0", (Room) this.gameRoom, (Zone) this.izone);
Player newUser = new Player(user, 0, 0, 0, 0, new ArrayList<Integer>(), new ArrayList<ArrayList<String>>());
newUser.setReadyToPlay(true);
and player remove code in this way
List<IUser> vUser = new ArrayList<IUser>();
vUser = gameRoom.getJoinedUsers();
LOGGER.info("Size {}", vUser.size());
for (int i = 0; i < vUser.size(); i++) {
vUser.get(i).getName();
LOGGER.info("User {}", vUser.get(i).getName());
}
i am getting vUser size 1 and not get virtual player. So how can remove it
i am getting only whoes player which is join throw my application
please solve this issue