Advertisement
Guest User

Untitled

a guest
Dec 14th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.11 KB | None | 0 0
  1.  
  2. using UnityEngine;
  3. using System.Collections;
  4.  
  5. public class User : MonoBehaviour {
  6.  
  7.     public string userName = "User";
  8.     private string passWord = "Pass";
  9.     public bool isUserLoggedIn;
  10.     public int rank;
  11.     public Stack myCollection;
  12.     public Hero heroPicked;
  13.     public Deck currentDeck;
  14.     List<Card> Hand = new List<Card>();
  15.     List<Card> Deck = new List<Card>();
  16.  
  17.  
  18.     void LogIn
  19.     {
  20.         // if we have User/Pass saved, load User from game directory
  21.     }
  22.  
  23.     void LogOut
  24.     {
  25.         // isUserLoggedIn = false;
  26.         // go to Entré menu (log in / create user menu)
  27.     }
  28.  
  29.     void OpenNewDeck
  30.     {
  31.         // add five new cards to MyCollection
  32.     }
  33.  
  34.     void EditDecks
  35.     {
  36.         // choose a deck to edit, alter its contents
  37.     }
  38.  
  39.     void PickHero
  40.     {
  41.         // pick your hero before next game, which changes your currentDeck
  42.         // currentDeck = warriorDeck;
  43.     }
  44.    
  45.     void SaveUser
  46.     {
  47.         // save MyCollection, Rank, Decks and Quests, heroPicked to game directory
  48.     }
  49. }
  50. User.cs
  51. Open with Google Docs
  52. Displaying User.cs.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement