ELEC2645 (2015/16) / Mbed 2 deprecated Tetis_Game

Dependencies:   N5110 SDFileSystem mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Patterns.h Source File

Patterns.h

Go to the documentation of this file.
00001 /**
00002 @file Patterns.h
00003 @brief Header file containing member functions and variables
00004 @brief Header file patterns pixel settings and funtion to get specific pattern pixel setting
00005 @brief Revision 1.0.
00006 @author JIANWEI CHEN
00007 @date   May 2016
00008 */
00009 
00010 #ifndef PATTERNS_H
00011 #define PATTERNS_H
00012 
00013 
00014 class Patterns
00015 {
00016 public:
00017     /** Get pattern pixel setting
00018     *
00019     * @param type - pattern type (0~6)
00020     * @param rotation - pattern rotation (0~3)
00021     * @param y - pattern y co-ordinate  (0~6)
00022     * @param x - pattern x co-ordinate (0~6)
00023     * @note (x,y) is the top left corner pixel of a 6x6 square
00024     */
00025     int getPatterns(int type, int rotation, int y, int x);
00026 
00027 private:
00028 
00029 };
00030 
00031 #endif