|
@ -6,7 +6,7 @@ using System; |
|
|
namespace SemiColinGames { |
|
|
namespace SemiColinGames { |
|
|
public class Camera { |
|
|
public class Camera { |
|
|
// Screen size in pixels is 1920x1080 divided by 4.
|
|
|
// Screen size in pixels is 1920x1080 divided by 4.
|
|
|
private Rectangle bbox = new Rectangle(0, 0, 480, 270); |
|
|
|
|
|
|
|
|
private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4); |
|
|
public int Width { get => bbox.Width; } |
|
|
public int Width { get => bbox.Width; } |
|
|
public int Height { get => bbox.Height; } |
|
|
public int Height { get => bbox.Height; } |
|
|
public int Left { get => bbox.Left; } |
|
|
public int Left { get => bbox.Left; } |
|
|