Skip to content

Instantly share code, notes, and snippets.

@ScottLilly
Last active March 11, 2024 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ScottLilly/220b8faa10b66433f06a to your computer and use it in GitHub Desktop.
Save ScottLilly/220b8faa10b66433f06a to your computer and use it in GitHub Desktop.
Lesson 04.1 - Creating the Player class and its properties
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine
{
public class Player
{
public int CurrentHitPoints { get; set; }
public int MaximumHitPoints { get; set; }
public int Gold { get; set; }
public int ExperiencePoints { get; set; }
public int Level { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment