Skip to content

Commit

Permalink
Merge pull request #18 from rodude123/health-variable-fix
Browse files Browse the repository at this point in the history
Health variable fix
  • Loading branch information
rodude123 authored May 6, 2022
2 parents 300cca2 + 4d4cb9a commit 80abc04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Runtime/Player/FPSPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ public enum WeaponType
Shotgun,
Sniper
}
public float health = 100f;

public float health
{
get;
set;
}

public abstract void TakeDamage(float damage);

public abstract void Shoot();
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.rodude123.configurable-fps-ai",
"version": "1.1.0",
"version": "1.1.1",
"displayName": "FPS AI System",
"description": "This is a configurable FPS AI system designed to help create AI for FPS games",
"unity": "2020.3",
Expand Down

0 comments on commit 80abc04

Please sign in to comment.