|
@ -13,8 +13,9 @@ namespace SemiColinGames { |
|
|
public int Top { get => bbox.Top; } |
|
|
public int Top { get => bbox.Top; } |
|
|
public Point HalfSize { get => new Point(Width / 2, Height / 2); } |
|
|
public Point HalfSize { get => new Point(Width / 2, Height / 2); } |
|
|
|
|
|
|
|
|
|
|
|
private readonly Random random = new Random(); |
|
|
private float shakeTime = 0.0f; |
|
|
private float shakeTime = 0.0f; |
|
|
private Random random = new Random(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Matrix Projection { |
|
|
public Matrix Projection { |
|
|
get => Matrix.CreateOrthographicOffCenter(Left, Left + Width, Height, 0, -1, 1); |
|
|
get => Matrix.CreateOrthographicOffCenter(Left, Left + Width, Height, 0, -1, 1); |
|
|