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); }
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); } }
protected override void DrawForeground() { _playerCharacter.Draw(); }