public static bool Matches(LevelTileTypes lhs, LevelTileTypes rhs) { var matches = lhs & rhs; return matches != LevelTileTypes.EMPTY; }
public bool CheckAtIndex(int c, int r, LevelTileTypes tile) => LevelGrid.Matches(this.GetAtIndex(c, r), tile);
public bool CheckAtPosition(double x, double y, LevelTileTypes tile) => LevelGrid.Matches(this.GetAtPosition(x, y), tile);
private LevelTileTypes CheckCollisions_( LevelTileTypes tile, (float, float) blockPosition)