Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleBarovia
- {
- class Hero
- {
- int life;
- public int giveMeYourLife()
- {
- return this.life;
- }
- public void setLife(int l)
- {
- this.life = l;
- }
- string name;
- public string giveMeYourName()
- {
- return this.name;
- }
- public void setName(String n)
- {
- this.name = n;
- }
- bool belivesInMagic = false;
- public bool givebelivesInMagic()
- {
- return this.belivesInMagic;
- }
- public void setbelivesInMagic(bool m)
- {
- this.belivesInMagic = m;
- }
- bool hasBeenInTown;
- public bool giveHasBeenInTown()
- {
- return this.hasBeenInTown;
- }
- public void setHasBeenInTown(bool HIT)
- {
- this.hasBeenInTown = HIT;
- }
- //TODO: add hero info, variables etc. here!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment