public void Update(GameTime gameTime, Vector2 playerPosition) { if (console.isBeingHacked) { console.Update(gameTime, playerPosition); } HackingResult(gameTime); }
public void Update(GameTime gameTime, Vector2 playerPosition) { if (hackingConsole.isBeingHacked) { hackingConsole.Update(gameTime, playerPosition); } if (doorState != prevDoorState) { DoorState(); } CheckingState(); animator.Update(gameTime.ElapsedGameTime.Milliseconds); HackingResult(gameTime); }