public List <EntityData> GetMovedEntities() { return(scenarioState.GetAllEntitiesWhere(e => { EntityData lastStateEntity = scenarioState.lastGameState.GetEntityWhere(ent => ent == e); return lastStateEntity != null && lastStateEntity.Position != e.Position; })); }