Run Code
|
API
|
Code Wall
|
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
ANQ Bug with Feb month display
Unirest
n th to last element
Umbraco
Kumaran - Regex IP Match
Double Jump and Wall Jump
Fórum Parallel Threads ( Without Fun )
Testing 004
Product, Category, Composition and Inheritance
linked list (add to end and beginning, and looking for cycles based on Floyd's algorithm)