Tetris
Tetrominoe Class Reference

Public Member Functions

 Tetrominoe (Grid grid, bool[,] shape, Point coordinates, short orientation, Color color)
 
 Tetrominoe (Grid grid, String name)
 
void RotateLeft ()
 
void RotateRight ()
 
void GoRight ()
 
void GoLeft ()
 
void GoDown ()
 
override string ToString ()
 

Protected Member Functions

virtual void OnPropertyChanged (string propertyName)
 

Properties

bool[,] Shape [get]
 
Point Coordinates [get, set]
 
short Orientation [get, set]
 
Color Color [get]
 

Events

PropertyChangedEventHandler PropertyChanged
 

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