Beispiel #1
0
 public BaseEntity GetEntityAt(int x, int y)
 {
     return(EntityContainer.FirstOrDefault(e => e.GetComponent <Actor>(ComponentType.Actor).Sprite.Position.X == x && e.GetComponent <Actor>(ComponentType.Actor).Sprite.Position.Y == y));
 }