All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.barrybecker4.game.multiplayer.common.online.ui.MultiPlayerOnlineTable Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
/** Copyright by Barry G. Becker, 2000-2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT  */
package com.barrybecker4.game.multiplayer.common.online.ui;

import com.barrybecker4.game.common.GameOptions;
import com.barrybecker4.game.common.online.OnlineGameTable;
import com.barrybecker4.game.common.player.Player;
import com.barrybecker4.game.multiplayer.common.MultiGameOptions;

/**
 * Some number of players sitting around a virtual game table online.
 * @author Barry Becker
 */
public abstract class MultiPlayerOnlineTable extends OnlineGameTable {

    protected MultiPlayerOnlineTable(String name, Player initialPlayer, GameOptions options) {
        super(name, initialPlayer, options);
        int numRobots = ((MultiGameOptions) options).getNumRobotPlayers();
        for (int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy