Browse Source

bump starting size of Player.movePoints & Player.candidates

master
Colin McMillen 4 years ago
parent
commit
3dea13a386
  1. 4
      Shared/Player.cs

4
Shared/Player.cs

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

Loading…
Cancel
Save