Hi,
enumerations or short enum are a collection of numbered literal constants.
Just like
const MY_CONST = 234
but enums are defiened differently
enum {TILE_BRICK, TILE_WATER, TILE_SKY}
then TILEBRICK would be 0 TILEWATER = 1 and so on
If you would want more structured code you can do
enum tiles {TILE_BRICK, TILE_WATER, TILE_SKY}
Then tiles.TILE_BRICK would be 0 etc.
and since they are constant they are static too
MyCustomClass.tiles.TILE_BRICK is also accessible