aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Assets/Scripts/Controllers/Player/PlayerSegment.cs
diff options
context:
space:
mode:
authorCarson Katri <carson.katri@gmail.com>2021-06-12 18:06:04 -0400
committerCarson Katri <carson.katri@gmail.com>2021-06-12 18:06:04 -0400
commit67c86ed960cc5feaedd06569ad62a340cc0d013f (patch)
treec5408bb4dd3b6df4a6b6e88fa41ee9875d3201e4 /Assets/Scripts/Controllers/Player/PlayerSegment.cs
parent71e603101369cf4a144904a2fc0e45ad3f862296 (diff)
downloadgmtk-gamejam-67c86ed960cc5feaedd06569ad62a340cc0d013f.tar.gz
gmtk-gamejam-67c86ed960cc5feaedd06569ad62a340cc0d013f.tar.zst
gmtk-gamejam-67c86ed960cc5feaedd06569ad62a340cc0d013f.zip
Functional AI that can dribble, steal, and shoot
Diffstat (limited to 'Assets/Scripts/Controllers/Player/PlayerSegment.cs')
-rw-r--r--Assets/Scripts/Controllers/Player/PlayerSegment.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/Scripts/Controllers/Player/PlayerSegment.cs b/Assets/Scripts/Controllers/Player/PlayerSegment.cs
index 4d0fb4f..0e8a969 100644
--- a/Assets/Scripts/Controllers/Player/PlayerSegment.cs
+++ b/Assets/Scripts/Controllers/Player/PlayerSegment.cs
@@ -21,6 +21,8 @@ namespace Controllers.Player
[SerializeField] public bool isRoot;
[SerializeField] public bool isTop;
+ [SerializeField] public Transform flipper;
+
public Rigidbody2D Rigidbody => _rigidbody != null ? _rigidbody : _rigidbody = GetComponent<Rigidbody2D>();
private Rigidbody2D _rigidbody;