game.tStone Class Reference

A Stone. More...

Inheritance diagram for game.tStone:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

A Stone.

Author:
Team Solid Sun
See also:
IStone

Constructor & Destructor Documentation

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

00139                                                                                    {
00140                 super(field);
00141                 super.blocks = new Block[4];
00142                 super.blocks[0] = new Block(rowOffset + 1, colOffset - 1, color);
00143                 super.blocks[1] = new Block(rowOffset + 1, colOffset + 0, color);
00144                 super.blocks[2] = new Block(rowOffset + 1, colOffset + 1, color);
00145                 super.blocks[3] = new Block(rowOffset + 0, colOffset + 0, color);
00146                 super.turnBlock = 1;
00147                 super.updateField();
00148         }


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

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