C# Class EagerLoadingStrategy, tilemap

Eager loading strategy loads not only visible tiles but also ones that are likely to be visible. It's based on LazyLoadingStrategy, and loads additional tiles according to users' actions.
Inheritance: ITileLoadingStrategy
Afficher le fichier Open project: stalexwang/tilemap Class Usage Examples

Méthodes publiques

Méthode Description
EagerLoadingStrategy ( ) : System
GetTilesToLoad ( float x, float y, float w, float h, int m, int n ) : ICollection

Private Methods

Méthode Description
GetPotentialTiles ( Vec2, point, Vector2 normal ) : ICollection

Method Details

EagerLoadingStrategy() public méthode

public EagerLoadingStrategy ( ) : System
Résultat System

GetTilesToLoad() public méthode

public GetTilesToLoad ( float x, float y, float w, float h, int m, int n ) : ICollection
x float
y float
w float
h float
m int
n int
Résultat ICollection