Skip to content

Commit

Permalink
removed deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskaselow committed Aug 28, 2018
1 parent bcc6c81 commit a8b3d5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/src/core/mapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ class Mapper<A extends Component> {
_components = world.componentManager.getComponentsByType(_type);
}

/// Use bracket operator instead.
@deprecated
A get(Entity entity) => _components[entity.id];

/// Fast but unsafe retrieval of a component for this entity.
/// No bounding checks, so this could throw an ArrayIndexOutOfBoundsExeption,
/// however in most scenarios you already know the entity possesses this
Expand Down

0 comments on commit a8b3d5b

Please sign in to comment.