libgdx/ashley — pull request #51 by SgtCoDFish (2014-08-22 10:16:49+00:00)
Title: #50: Add convenience Entity.getFor(Class<? extends Component>) method

As mentioned in #50 - "New getComponent overload for Entity". Includes unit test for the new method. Unsure if adding this method pollutes the public API of the library, but since it's so simple to add here's the code anyway.