|
@ -17,7 +17,7 @@ namespace Jumpy { |
|
|
private Texture2D texture; |
|
|
private Texture2D texture; |
|
|
|
|
|
|
|
|
// TODO: stop assuming 1920x1080.
|
|
|
// TODO: stop assuming 1920x1080.
|
|
|
private const int groundLevel = 1080 - spriteSize / 2; |
|
|
|
|
|
|
|
|
private const int groundLevel = 1080 - spriteSize / 2 - 200; |
|
|
private Vector2 position = new Vector2(200, groundLevel); |
|
|
private Vector2 position = new Vector2(200, groundLevel); |
|
|
private Facing facing = Facing.Right; |
|
|
private Facing facing = Facing.Right; |
|
|
private Pose pose = Pose.Standing; |
|
|
private Pose pose = Pose.Standing; |
|
|