Exemplo n.º 1
0
 public static System.Collections.Generic.HashSet <TileEntity> GetEntitiesWithMapPosition(this TileContext context, Position Value)
 {
     return(((Entitas.EntityIndex <TileEntity, Position>)context.GetEntityIndex(Contexts.MapPosition)).GetEntities(Value));
 }
Exemplo n.º 2
0
 public static System.Collections.Generic.HashSet <TileEntity> GetEntitiesWithSpawnpoint(this TileContext context, int index)
 {
     return(((Entitas.EntityIndex <TileEntity, int>)context.GetEntityIndex(Contexts.Spawnpoint)).GetEntities(index));
 }
Exemplo n.º 3
0
 public static System.Collections.Generic.HashSet <TileEntity> GetEntitiesWithId(this TileContext context, int Id)
 {
     return(((Entitas.EntityIndex <TileEntity, int>)context.GetEntityIndex(Contexts.Id)).GetEntities(Id));
 }