Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Game 1.0.2
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 { int[,] mapArray = new int[,] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,}, } }//NAMESPACE
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
11.10
p link gener tor
linq subquery z grupowaniem po dwóch polach
Ejercicio 1 clase 8 feb
Plt-D v.0.9.4
to get distinct of the given array with each items occurrence count._1
Pot
encypt& dcrypt
uniqueness
my cool stuff
Please log in to post a comment.