Advertisement
dobroslav-atanasov

Untitled

Feb 18th, 2018
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. namespace PokemonTrainer
  2. {
  3.     public class Pokemon
  4.     {
  5.         private string name;
  6.         private string element;
  7.         private int health;
  8.        
  9.         public int Health
  10.         {
  11.             get { return this.health; }
  12.             set { this.health = value; }
  13.         }
  14.  
  15.         public string Element
  16.         {
  17.             get { return this.element; }
  18.             set { this.element = value; }
  19.         }
  20.  
  21.         public string Name
  22.         {
  23.             get { return this.name; }
  24.             set { this.name = value; }
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement