Skip to content

Instantly share code, notes, and snippets.

@HolyMonkey
Created August 28, 2019 20:13
Show Gist options
  • Save HolyMonkey/228d407270b740387bbab0fede8fc29b to your computer and use it in GitHub Desktop.
Save HolyMonkey/228d407270b740387bbab0fede8fc29b to your computer and use it in GitHub Desktop.
class Player
{
public string Name { get; private set; }
public float WeaponCooldown { get; private set; }
public float MovementDirectionX { get; private set; }
public float MovementDirectionY { get; private set; }
public int Age { get; private set; }
public int WeaponDamage { get; private set; }
public float MovementSpeed { get; private set; }
public void Move()
{
//Do move
}
public void Attack()
{
//attack
}
public bool IsReloading()
{
throw new NotImplementedException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment