コード例 #1
0
 public void Update(GameTime gameTime, Vector2 playerPosition)
 {
     if (console.isBeingHacked)
     {
         console.Update(gameTime, playerPosition);
     }
     HackingResult(gameTime);
 }
コード例 #2
0
ファイル: Door.cs プロジェクト: Ethealoner/CyberChocolate
        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);
        }