Uses of Class
au.com.solidsoftware.multimahjong.shared.Tile

Packages that use Tile
au.com.solidsoftware.multimahjong.mmc.co   
au.com.solidsoftware.multimahjong.mmc.game   
au.com.solidsoftware.multimahjong.mmc.usergui   
au.com.solidsoftware.multimahjong.shared   
 

Uses of Tile in au.com.solidsoftware.multimahjong.mmc.co
 

Subclasses of Tile in au.com.solidsoftware.multimahjong.mmc.co
(package private)  class AITile
          Tile class is supposed to asign Id to every single tile but somehow these Id(s) were missing during the implementaion.
 

Methods in au.com.solidsoftware.multimahjong.mmc.co with parameters of type Tile
private  AITile[] ComputerOpponent.fromHumantoAIConcealedHand(Tile[] humanConcealedHand)
          Converts human style concealedHand to CO style concealedHand.
private  boolean ComputerOpponent.finalChecking(Tile tile, Tile[] humanConcealedHand)
          Checks whether a tile exists in concealed hand or not.
 int ComputerOpponent.determineCanRob(Tile selectedTile)
          Tries to find if player can rob the kong.
 int ComputerOpponent.getPlayerSelection(Tile lastDiscard, int next)
          Tries to steal other player' tile.
 

Uses of Tile in au.com.solidsoftware.multimahjong.mmc.game
 

Subclasses of Tile in au.com.solidsoftware.multimahjong.mmc.game
 class Set
          Set represent a single group of tiles in a player's hands.
 

Fields in au.com.solidsoftware.multimahjong.mmc.game declared as Tile
protected  Tile Player.selectedTile
          Tile last selected by the player.
private  Tile Game.lastDiscard
          Last discarded tile.
private  Tile Game.lastPickUp
          Last tile picked up from the Wall.
private  Tile[] Hand.copyOfHand
          Copy of the concealed hand of the player used by the PlayArea.
private  Tile Hand.lastDiscard
          Lastdiscarded tile.
(package private)  Tile Payout.lastTile
          Used to store the last tile of the hand, ie the tile the winner went Mahjong with.
(package private)  Tile[] Payout.concealedHand
          Stores all of the Winner's concealed Sets of tiles.
private  Tile[] PayoutGUI.concealedHand
          Concealed Tiles from Special Hands set by the Game
private  Tile HumanDiscard.selectedTile
          Tile that goes with the selected move.
 

Methods in au.com.solidsoftware.multimahjong.mmc.game that return Tile
 Tile[] Hand.getTiles()
          Returns players concealed hand to be displayed in the PlayArea.
 Tile HumanDiscard.getSelectedTile()
          Retrieves the selected tile by the user.
 

Methods in au.com.solidsoftware.multimahjong.mmc.game with parameters of type Tile
 void CombList.convertCombSets(Set[][] conHand, Set[][] expHand, Tile lastDiscard)
          Converts the best combinations into Sets that can be used to calculate the score at the end of the game.
 void Player.insertTile(Tile[] tile, int insertAmount)
          Insert a list of tiles into the player's Hand, and updates the PlayArea with the changes.
 void Player.insertTile(Tile tile)
          Inserts the given tile into the player's Hand, and updates the PlayArea with the changes.
 void Player.discard(Tile lastDiscard)
          Removes the given tile in the player's Hand and updates the PlayArea with the changes.
 void Player.runKong(Tile lastDiscard)
          Exposes a Kong from the player's concealed Hand with the given discard.
 void Player.runChow(Tile lastDiscard, int selection)
          Exposes a Chow from the player's concealed Hand with the given discard.
 void Player.runPung(Tile lastDiscard)
          Exposes a Pung from the player's concealed Hand with the given discard.
 void Player.runMahjong(Tile lastDiscard)
          Inserts the tile into the Hand and runs mahjong with the last discarded tile.
 boolean Player.checkMahjong(Tile lastPickUp, boolean lastTile)
          The function checks to see if the Hand has Mahjong after picking up tile from the Wall.
 boolean Player.checkKong(Tile selectedTile)
          Looks to see if the player can declare a concealed kong with the selected tile.
 int Player.determineCanRob(Tile selectedTile)
          Determines whether the player can rob the Kong with the given tile.
 void Player.declareKong(Tile selectedTile)
          Exposes a concealed Kong in the player's Hand using the selected tile and updates the PlayArea.
 void Player.runPung2Kong(Tile selectedTile)
          This function is run if the player has selected to and can successfully add a tile to an exposed Pung.
 boolean Player.checkPung2Kong(Tile selectedTile)
          CheckPung2Kong checks player's Hand for an exposed Pung similar to the selected tile.
 void Player.robbedKong(Tile robbedTile, boolean lastTile)
          RobbedKong is run if the player has successfully rob the Kong.
 int Player.getPlayerSelection(Tile lastDiscard, int next)
          Retrieves a selection from the player to be sent to the Referee.
 void Player.setMove(Tile tile, int move)
          Inserts a selected move made by the player from the UserGUI.
 int Human.determineCanRob(Tile selectedTile)
          Determines whether the Player can rob the Kong with the given tile.
 int Human.getPlayerSelection(Tile lastDiscard, int next)
          Displays all the selections that the player can make for their next move.
 void Human.setMove(Tile tile, int move)
          Inserts a selected move made by the player from the UserGUI.
 void Hand.insertTile(Tile givenTile)
          Inserts the given tile into the player's concealed hand.
 void Hand.discard(Tile lastDiscard)
          Removes the given tile from the player's concealed hand. This function is called when the player discards a tile from their hand.
 void Hand.runChow(Tile lastDiscard, int selection)
          Exposes the Chow in the player's concealed hand with the given discard.
 void Hand.runPung(Tile lastDiscard)
          Exposes the Pung in the player's concealed hand with the given discard.
 boolean Hand.checkKong(Tile selectedTile)
          Looks to see if the player can declare a concealed Kong with the selected tile.
 void Hand.runKong(Tile lastDiscard)
          Exposes a Kong in the player's hand with the given discard.
 void Hand.declareKong(Tile selectedTile)
          Reveals a concealed Kong in the player's hand, using the selected tile.
 void Hand.runPung2Kong(Tile selectedTile)
          This function is run if the player has selected to and can successfully add a tile to an exposed Pung.
 boolean Hand.checkPung2Kong(Tile selectedTile)
          Checks the player's hand for an exposed Pung similar to the selected tile.
 void Hand.runMahjong(Tile lastDiscard)
          This is run whenever a player has mahjong by using the last discarded tile.
 boolean Hand.checkMahjong(Tile lastPickUp)
          Checks a player's hand for ordinary and special Mahjong hands.
 boolean Hand.canChow2Sides(Tile lastDiscard)
          Checks to see if the player can Chow with the current discard tile.
 boolean Hand.canChow2Down(Tile lastDiscard)
          Checks to see if the player can Chow with the current discard tile.
 boolean Hand.canChow2Up(Tile lastDiscard)
          Checks to see if the player can Chow with the current discard tile.
 boolean Hand.canPung(Tile lastDiscard)
          Checks to see if the player can Pung with the current discard tile.
 boolean Hand.canKong(Tile lastDiscard)
          Checks to see if the player can Kong with the current discard tile.
 void PayoutInfo.printSpecialScore(Game gameReference, Tile[] concealedHand, Set[] exposedSets)
          Sets up all information that is required to be displayed in the Payout Window.
 void Payout.setUniqueWonder(Tile[] concealedHand)
          Sets that the hand is a Unique Wonder Special Hand.
 void Payout.setGatesOfHeaven(Tile[] concealedHand)
          Sets that the hand is a Gates of Heaven Hand.
 void Payout.setWrigglySnake(Tile[] concealedHand)
          Sets that the hand is a Wriggly Snake Hand
 void Payout.setLastTile(Tile finalTile)
          Sets what the last tile to be picked up by the winner was.
 void Comb.convertComb(Set[][] conHand, Set[][] expHand, Tile lastDiscard, int insertLocation)
          Converts the combination into Set when a player has Mahjong at the end of the hand.
 void PayoutGUI.setConcealedHand(Tile[] concealedHand)
          Sets the array of Tiles in the player's concealed hand.
private  javax.swing.JPanel PayoutGUI.drawConcHand(Tile[] concHand)
          Handles the drawing of a JPanel containing concealed Tiles.
 void HumanDiscard.setMove(Tile selectedTile, int move)
          SetMove is run to store the selected tile and the move from the user, that will be retrieved by the Game thread.
 

Uses of Tile in au.com.solidsoftware.multimahjong.mmc.usergui
 

Fields in au.com.solidsoftware.multimahjong.mmc.usergui declared as Tile
private  Tile[] PlayArea.userConcealed
          The user's concealed hand.
private  Tile ActionPane.selected
          The tile that has been selected by the user in the UserPane.
 

Methods in au.com.solidsoftware.multimahjong.mmc.usergui with parameters of type Tile
 void TabbedPane.addDeadTile(Tile tile)
          Adds a dead tile to the scrollable client within the "Discards" tab.
 void PlayArea.updateConcealed(Tile[] tiles, boolean drawn, int playerID)
          Updates the concealed tiles for the player seated in position.
 void PlayArea.updateDiscard(Tile tile)
          Updates the most recently discarded tile displayed on the inner side of the Wall.
 void ActionPane.setSelected(Tile tile)
          Stores the tile that has been selected by the user in the PlayArea.
 

Uses of Tile in au.com.solidsoftware.multimahjong.shared
 

Fields in au.com.solidsoftware.multimahjong.shared declared as Tile
(package private)  Tile[] Referee.wall
           
private  Tile[] Wall.tilesInWall
          Ordinary Wall of tiles.
private  Tile[] Wall.honourWall
          Honour Wall of tiles
private  Tile Moves.lastDiscard
          The last discarded tile.
private  Tile[] Moves.declaredKongs
          List of tiles that have been declared by the current player.
 

Methods in au.com.solidsoftware.multimahjong.shared that return Tile
 Tile Wall.drawTile()
          Draws a tile from the back of the ordinary wall.
 Tile Wall.drawLooseTile()
          Draws a tile from the back of the honour wall.
 Tile Moves.retrieveDiscard()
          Retrieves lastDiscard.
 Tile[] Moves.retrieveDeclaredKong()
          Returns list of tiles that have been selected as declared Kongs or pung2Kong tiles.
 

Methods in au.com.solidsoftware.multimahjong.shared with parameters of type Tile
 void Wall.insertTile(Tile tile)
          Inserts a new tile at the end of the ordinary wall.
 void Wall.insertLooseTile(Tile tile)
          Inserts a new tile at the end of the honour wall.
 void Moves.placeDiscard(Tile lastDiscard)
          Inserts lastDiscard tile.
 void Moves.insertDeclaredKong(Tile givenTile, int givenType)
          Inserts declare Kong and pung2Kong tiles in the next position in the list.