Uses of Class
it.polimi.ingsw.model.Block
-
Packages that use Block Package Description it.polimi.ingsw.model This package contains classes used in the Server Side to manage the State of a Game. -
-
Uses of Block in it.polimi.ingsw.model
Methods in it.polimi.ingsw.model that return Block Modifier and Type Method Description Block
Block. clone()
Block
Cell. getBlock()
Get the top block of the stackBlock
Cell. getBlock(int i)
Get a specific block of the stackBlock
Cell. popBlock()
Remove and Return the top block of the stack, null in case there is nothingMethods in it.polimi.ingsw.model with parameters of type Block Modifier and Type Method Description void
Cell. addBlock(Block blockToAdd)
Add a block on top of the stackConstructor parameters in it.polimi.ingsw.model with type arguments of type Block Constructor Description Cell(List<Block> blocks)
Create an instance of Cell with specified blocks
-