public void Draw(Transform2 parentTransform) { var absoluteTransform = parentTransform + _transform; Branch.ParentLocation = absoluteTransform.Location; _current.Draw(parentTransform + _transform); }
public void Draw(Transform2 parentTransform) { if (_showsHoveredPathDirections) { _currentPathTransforms.ToList().ForEach(x => _highlight.Draw(parentTransform + x)); } }
public void Draw(Transform2 parentTransform) { if (_isRunning) { _current.Draw(parentTransform); } else { _visual.Draw(parentTransform); } }
public void Draw(Transform2 parentTransform) { if (!_scanningIsAllowed()) { return; } _scanAnimation.Draw(parentTransform); if (!_startedScanning) { _startScanButton.Draw(parentTransform); } if (_isShowingScanData) { _reader.Draw(); _nameDataLabel.Draw(); } }
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); } }
public void Draw() { UI.FillScreen(_locationImage); _visuals.ForEach(x => x.Draw()); if (_isLoitering) { _objectives.Draw(); GameObjects.Hud.Draw(); } if (_isPresentingToUser) { _reader.Draw(); } _subview.Draw(); UI.FillScreen("UI/ScreenOverlay-Purple"); _locationNameLabel.Draw(); }
public void Draw(IVisual visual) { visual.Draw(new Transform2(_position)); }
protected override void DrawForeground() { UI.FillScreen("Pondering/PonderingOverlay"); _header.Draw(); }
public void Draw(IVisual visual) { visual.Draw(_position); }
public void Draw(IVisual visual, Transform2 parentTransform) { visual.Draw(parentTransform + _bobbingEffect[_index]); }
public void Draw(Transform2 parentTransform) { IfRunning(() => _visual.Draw(parentTransform)); }
public void Draw(Transform2 parentTransform) { BobbingEffect.Draw(_imageBox, parentTransform); _nameLabel.Draw(parentTransform); }
public void Draw(Transform2 parentTransform) { _visual.Draw(parentTransform + _offset); }
protected override void DrawForeground() { UI.FillScreen("UI/ScreenOverlay"); _headerText.Draw(); }
public void Draw(Transform2 parentTransform) { IfRunning(() => _visual.Draw(new Transform2(_currentPosition))); }
public void Draw(Transform2 parentTransform) { _toDraw.Draw(parentTransform); }
public void Draw(Transform2 parentTransform) { Branch.ParentLocation = parentTransform.Location; _visual.Draw(parentTransform); }
public static void Draw(this IVisual visual) { visual.Draw(Transform2.Zero); }