UpdateSize() {
        this.width = appConf.cameraWidth;
        this.height = appConf.cameraHeight;
        this.halfWidth = appConf.cameraWidth / 2;
        this.halfHeight = appConf.cameraHeight / 2;
        this.lastPosX = 0;
        this.lastPosY = 0;
    }
/** 
     * Update camera's size attributes.
     */
Update camera's size attributes.
Update camera ' s size attributes .
UpdateSize() {
        this.width = appConf.cameraWidth;
        this.height = appConf.cameraHeight;
        this.halfWidth = appConf.cameraWidth / 2;
        this.halfHeight = appConf.cameraHeight / 2;
        this.lastPosX = 0;
        this.lastPosY = 0;
    }
UpdateSize ( ) { this . width = appConf . cameraWidth ; this . height = appConf . cameraHeight ; this . halfWidth = appConf . cameraWidth / 2 ; this . halfHeight = appConf . cameraHeight / 2 ; this . lastPosX = 0 ; this . lastPosY = 0 ; }
Update camera's size attributes.
Update camera ' s size attributes .