I added a method to level to get all elements matching a certian class
(like MovingPlatform.class or Spawn.class).