Merge pull request #3 from Amarcolina/master

Fixed several bugs in generation and drawing
Merge branch 'master' of https://github.com/mentatzoe/DinoSwarms
Updated MarkovModel class

Completed the implementation for the constructor & apply method (matrix
multiplication)
Bug fixing

According to my FlashBuilder version.
Error thrown was: Implicit coercion of a value of type X to an
unrelated type X.
MarkovModel fixing

Removed useless init of _model.
Merge pull request #3 from mentatzoe/master

Updated MarkovModel class & Bug fixing
Implemented MarkovGenerationLayer.as

removed typecast from variables in tilemap, gallimimus, and
statemachine.   Added static varible in Tile.as.  Added bin, obj and
*.as3proj to the .gitignore.
Merge pull request #4 from ahreeves/master

Implemented MarkovGenerationLayer.as
Fixed some small errors on MarkovGenerationLayer
Worked on generation code to speed things up

Generation now initializes the 2D vector once, and does all of the
upscaling in place instead of copying the vector over each time.
Consequently a width and height needs to be passed to the layers so they
know how large the tilemap they are operating on is.

The display while the tilemap is being built is also optimized by only
drawing the tiles to the screen and not repopulating the tilemap after
each layer is applied.

The MarkovModel constructor was reworked a bit to make it easier to
initialize.
Cleaned up a lot of generation code

Fixed a bug where the terrain would default to water after generation
was finished.

Slightly reworked the way tile updates are handled internally.  Tiles
can now schedule multiple tile updates, and handling the tile updates
now takes less time.  Only tiles that need updates are considered each
frame, instead of all tiles that need updates.

Commented and cleaned up a lot of code.
Merge https://github.com/Amarcolina/DinoSwarms