Merge pull request #367 from W1ndwaker/blockcomponent

Use generics with BlockComponent
Added getObservers method to Chunk and add disconnect boolean input into onRemoved for the net sync class
Added basic dependency ordering
Keep a running set of entities that have spawned per synchronizer.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Partly fixes player direction updates - thread safety?
Added a way to send protocol events to specific players (and to ignore a
holder if its a player).
Signed-off-by: Chris Sanders <zidane@outlook.com>
Another helper method for the network component.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Reverted onRemoved
Transforms aren't just positions yet dirty was being used that way. Split
it up into multiple methods as well as a generic isDirty method when it
doesn't matter what aspect of a transform is changed.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Fixed all the code style issues from
http://forums.spout.org/threads/chunk-getobservingplayers-efficiency.5333/

Unit tests later...
Added Unit tests for the translation API

Fixed getting the correct Locale
If no spout instance is available (due to testing for example),
return a basic logger so we can see what errors occur while testing
Removed debug outputs
Prepend package name
Really fixed the path
Changed observing players from List to Set
Fix due to API change in last commit
Added getNearbyEntities methods to the World interface.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Removed duplicate EntityChangeWorld event (they did the same thing), made
the event non cancellable and fired it within TransformComponent.

Signed-off-by: Chris Sanders <zidane@outlook.com>
Remove RandomBlockMaterial SPOUTAPI-43

Signed-off-by: L5D <cholley.thibaut@gmail.com>
Added atomic palette based array
- compress method is not entirely thread safe
- palette entries keep expanding unless compress is called