Beispiel #1
0
        public void Draw(Transform2 parentTransform)
        {
            _playerView.Draw(parentTransform);
            _characterView.Draw(parentTransform);

            if (_shouldShowDialogueControls)
            {
                DrawConversationControls(parentTransform);
            }

            if (_isPresentingToUser)
            {
                _reader.Draw();
            }

            _subView.Draw(parentTransform);
            _tutorial.Draw(parentTransform);
        }
Beispiel #2
0
 public void Draw()
 {
     if (_isInTheMiddleOfDialog)
     {
         UI.FillScreen(_locationMemory);
         if (_isCharacterTalking)
         {
             _personImage.Draw();
         }
         _personName.Draw();
         _player.Draw();
         _reader.Draw();
     }
     else
     {
         _characterOptions.ForEach(c => c.Draw(Transform2.Zero));
         _dialogOptions.ForEachIndex((d, i) => d.Draw(new Transform2(new Vector2(0, -300 + i * 100))));
         GameObjects.Hud.Draw(Transform2.Zero);
     }
 }
Beispiel #3
0
 protected override void DrawForeground()
 {
     _playerCharacter.Draw();
 }