Skip to content

Commit 427984f

Browse files
committed
Update documentation
1 parent b9f61f3 commit 427984f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/OctopusKit/Components/Input/Pointer/PointerControlledRotationComponent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import GameplayKit
1111

1212
/// Modifies the `zRotation` of the entity's `SpriteKitComponent` node to gradually turn it towards the pointed location as received via a `PointerEventComponent`.
1313
///
14+
/// Set the `LOGINPUTEVENTS` compilation flag to log values.
15+
///
1416
/// See also: `PositionSeekingGoalComponent` and `PointerControlledSeekingComponent`
1517
///
1618
/// **Dependencies:** `SpriteKitComponent`, `PointerEventComponent`

Sources/OctopusKit/Components/Input/Pointer/PointerControlledSeekingComponent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import GameplayKit
1010

1111
/// Directs the `PositionSeekingGoalComponent` of the entity towards the point touched or clicked by the player.
1212
///
13-
/// **Dependencies:** `PositionSeekingGoalComponent, SpriteKitComponent, TouchEventComponent`
13+
/// **Dependencies:** `PositionSeekingGoalComponent, SpriteKitComponent, PointerEventComponent`
1414
public final class PointerControlledSeekingComponent: OctopusComponent, OctopusUpdatableComponent {
1515

1616
// TODO: A way to not rely on a `SpriteKitComponent` so that entities without a visual representation (i.e. only agents or "ghosts") may be able to use this component.

0 commit comments

Comments
 (0)