package gameEngine.entites; public class Camera extends Entity{ public enum ProjectionType{ PERSPECTIVE, //透視投影 ORTHOGRAPHIC, //平行投影 } private final ProjectionType projection; public Camera(int id, ProjectionType projection){ super(id); this.projection = projection; } }