com.TeamHEC.LocomotionCommotion.Card
Class Game_CardHand

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Card.Game_CardHand

public class Game_CardHand
extends java.lang.Object

Author:
Robert Precious , Oliver Binns This class is a Manager, I use Managers in the UI to handed groups of actors. It means I can hide or show a major group of action from one action. The Manager handles the creation of the cards in the hand, the adding of cards and removing from cards from the players hand. actors Array of actors used to add to stage in one loop cardactors Array of cards used for global use currentHand ArrayList of card_Card that represents the currentHand newcards ArrayList of card_Card from the HandCreator open Boolean for if the cards are visible or not card1-7 card_Card actors for the cards stagestart int that records the position of the first card_Card actor cardActors int of the number of card_Card actors height int records the height for the cards on screen selectedCard Holds the selected card slot number numberofcards Holds the number of cards from the HandCreator usecardbtn Actor for the use card button

Nested Class Summary
static class Game_CardHand.Game_CardHandManager
           
 
Field Summary
static Game_CardHand.Game_CardHandManager actorManager
           
 
Constructor Summary
Game_CardHand()
           
 
Method Summary
 void create(com.badlogic.gdx.scenes.scene2d.Stage stage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actorManager

public static Game_CardHand.Game_CardHandManager actorManager
Constructor Detail

Game_CardHand

public Game_CardHand()
Method Detail

create

public void create(com.badlogic.gdx.scenes.scene2d.Stage stage)