|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GameItem | |
---|---|
net.sourceforge.cilib.games.game.tetris | |
net.sourceforge.cilib.games.items | |
net.sourceforge.cilib.games.states |
Uses of GameItem in net.sourceforge.cilib.games.game.tetris |
---|
Subclasses of GameItem in net.sourceforge.cilib.games.game.tetris | |
---|---|
class |
TetrisBlock
|
Methods in net.sourceforge.cilib.games.game.tetris with parameters of type GameItem | |
---|---|
static int |
TetrisGameState.clearFullRows(GameItem[][] state,
int Width,
int Height)
Clear all full rows for a given game grid |
void |
TetrisGameState.setItem(int i,
int j,
GameItem item)
|
Uses of GameItem in net.sourceforge.cilib.games.items |
---|
Subclasses of GameItem in net.sourceforge.cilib.games.items | |
---|---|
class |
GridItem
An object in the game that is located in a grid. |
class |
PlayerItem
any game item controlled by a player |
Methods in net.sourceforge.cilib.games.items that return GameItem | |
---|---|
abstract GameItem |
GameItem.getClone()
|
GameItem |
PlayerItem.getClone()
Create a cloned copy of the current object and return it. |
Constructors in net.sourceforge.cilib.games.items with parameters of type GameItem | |
---|---|
GameItem(GameItem other)
|
Uses of GameItem in net.sourceforge.cilib.games.states |
---|
Fields in net.sourceforge.cilib.games.states declared as GameItem | |
---|---|
protected GameItem[][] |
GridGameState.state
|
Fields in net.sourceforge.cilib.games.states with type parameters of type GameItem | |
---|---|
protected List<GameItem> |
ListGameState.currentState
|
Methods in net.sourceforge.cilib.games.states that return GameItem | |
---|---|
GameItem |
ListGameState.getItem(Enum itemToken)
Returns first item that contains specified token |
GameItem |
ListGameState.getItem(int index)
Get an item with the specified index in the list. |
GameItem |
GridGameState.getItem(int i,
int j)
Get an Item at a specific index in the matrix. |
GameItem |
ListGameState.getItem(ItemLocation location)
Get an item that matches a given ItemLocation |
Methods in net.sourceforge.cilib.games.states with parameters of type GameItem | |
---|---|
void |
ListGameState.addGameItem(GameItem item)
Add an item to the game state at the end of the list. |
void |
GridGameState.setItem(int i,
int j,
GameItem item)
Set an item at a specific index in the matrix |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |