game.plusStone Class Reference

A Stone. More...

Inheritance diagram for game.plusStone:

Inheritance graph
[legend]
Collaboration diagram for game.plusStone:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 plusStone (IBlock[][] field, int rowOffset, int colOffset, Color color)


Detailed Description

A Stone.

Author:
Team Solid Sun
See also:
IStone

Constructor & Destructor Documentation

game.plusStone.plusStone ( IBlock  field[][],
int  rowOffset,
int  colOffset,
Color  color 
)

00228                                                                                       {
00229                 super(field);
00230                 super.blocks = new Block[5];
00231                 super.blocks[0] = new Block(rowOffset + 0, colOffset + 0, color);
00232                 super.blocks[1] = new Block(rowOffset + 1, colOffset + 0, color);
00233                 super.blocks[2] = new Block(rowOffset + 2, colOffset + 0, color);
00234                 super.blocks[3] = new Block(rowOffset + 1, colOffset - 1, color);
00235                 super.blocks[4] = new Block(rowOffset + 1, colOffset + 1, color);
00236                 super.turnBlock = 0;
00237                 super.updateField();
00238         }


The documentation for this class was generated from the following file:

Generated on Mon Jul 28 19:03:08 2008 for SolidJavaTetris by  doxygen 1.5.5