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.
Order of Ops Decimals 5.1 (changed result.ToString(fmt2))
Hex<->Bas64
linked list (add to end and beginning, and looking for cycles based on Floyd's algorithm)
linq jean by Fausto
D15
split string
hay
GP-TIME
Intuit // C# // listing_4.6 (Shooting on the target)
Linq join to tables
Please log in to post a comment.