public void Start() { keyStates = new AppKeyStates(); cameraInScene = GameObject.Find("OverworldCam"); camTransform = cameraInScene.GetComponent <Transform>(); lastMousePSet = false; camVel = new Vector3(); }
public FitrisShape(int size, AppKeyStates gameKeyStates) { this.keyStates = gameKeyStates; this.moveTimer = new Timer(1); this.moveTimer.value = 0; this.blocks = new FitrisBlock[BoardLogic.MAX_SHAPE_COUNT]; for (int i = 0; i < this.blocks.Length; ++i) { this.blocks[i] = new FitrisBlock(); } this.count = size; this.wasHitByExplosive = false; }