bump starting size of Player.movePoints & Player.candidates

This commit is contained in:
Colin McMillen 2020-03-25 13:16:18 -04:00
parent 7c0eb479a6
commit 3dea13a386

View File

@ -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;