Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Game v1.0.1
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game_attempt { class Program { static void Main(string[] args) { player _player = new player(); optionMenu menu = new optionMenu(); menu.Option(menu, _player); }//MAIN }//PROGRAM public class player { private int playerLocation; private string playerName; private double playerMaxHealth; private double playerHealth; private int exp; private int lvl; private double gold; //NAME public void setPlayerName(string name) { playerName = name; } public string getPlayerName() { return playerName; } public void setPlayerLocation(int location) { playerLocation = location; }//LOCATION public string getPLayerLocation() { return playerLocation; }//LOCAtion public void setPlayerHealth(double Health) { playerHealth = Health; } public double getPlayerHealth() { return playerHealth; }//HEALth public void setPlayerGold(double _gold) { gold = _gold; }//GOLD }//PLAYER public class optionMenu { public void Option(optionMenu menu, player _player) { }//OPTION }//OPTIONMENU public class MapDef { public int } }//NAMESPACE
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Fibonacci Modified
TestWall
Extract all possible substrings from a string
compiled prog
Cont monad in C#
Programmer DNA
t
BankAccount
Problem: binary
różne wersje parsowania kwoty i daty (CultureInfo)
Please log in to post a comment.