|
|
@ -36,9 +36,9 @@ namespace SemiColinGames { |
|
|
|
private float invincibilityTime = 0; |
|
|
|
|
|
|
|
// For passing into Line.Rasterize() during movement updates.
|
|
|
|
private readonly IList<Point> movePoints = new ProfilingList<Point>(32, "Player.movePoints"); |
|
|
|
private readonly IList<Point> movePoints = new ProfilingList<Point>(64, "Player.movePoints"); |
|
|
|
// Possible hitboxes for player <-> obstacles.
|
|
|
|
private readonly IList<AABB> candidates = new ProfilingList<AABB>(8, "Player.candidates"); |
|
|
|
private readonly IList<AABB> candidates = new ProfilingList<AABB>(16, "Player.candidates"); |
|
|
|
|
|
|
|
public Player(Vector2 position, int facing) { |
|
|
|
this.position = position; |
|
|
|