Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class User : MonoBehaviour {
- public string userName = "User";
- private string passWord = "Pass";
- public bool isUserLoggedIn;
- public int rank;
- public Stack myCollection;
- public Hero heroPicked;
- public Deck currentDeck;
- List<Card> Hand = new List<Card>();
- List<Card> Deck = new List<Card>();
- void LogIn
- {
- // if we have User/Pass saved, load User from game directory
- }
- void LogOut
- {
- // isUserLoggedIn = false;
- // go to Entré menu (log in / create user menu)
- }
- void OpenNewDeck
- {
- // add five new cards to MyCollection
- }
- void EditDecks
- {
- // choose a deck to edit, alter its contents
- }
- void PickHero
- {
- // pick your hero before next game, which changes your currentDeck
- // currentDeck = warriorDeck;
- }
- void SaveUser
- {
- // save MyCollection, Rank, Decks and Quests, heroPicked to game directory
- }
- }
- User.cs
- Open with Google Docs
- Displaying User.cs.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement