Beispiel #1
0
        public Grf(Resource r)
        {
            Resource = r;

            Images  = new List <GrfImage>();
            Version = new VersionHeader();
        }
Beispiel #2
0
        public Monster(Resource r)
        {
            Resource = r;

            Stats   = new Stats();
            Skills  = new List <short>();
            Version = new VersionHeader();
        }
Beispiel #3
0
        public Zone(Resource r)
        {
            Resource = r;

            Version    = new VersionHeader();
            Tiles      = new TileBag();
            Encounters = new List <Encounter>();
            ETables    = new List <ETable>();
            Items      = new List <ItemPos>();
        }
Beispiel #4
0
        public PC(Resource r)
        {
            Resource = r;

            JobLevels = new ushort[Globals.NumJobs];
            Stats     = new Stats();
            Version   = new VersionHeader();
            Skills    = new List <short>();
            Buffs     = new List <Buff>();

            Items = new InventoryItem[Globals.InventorySize];
            for (int i = 0; i < Globals.InventorySize; i++)
            {
                Items[i] = new InventoryItem();
            }
        }
Beispiel #5
0
        public NPC(Resource r)
        {
            Resource = r;

            Version = new VersionHeader();
        }
Beispiel #6
0
 public Campaign(Resource r)
 {
     Resource = r;
     Version  = new VersionHeader();
 }
Beispiel #7
0
 public Wip(Resource r)
 {
     Resource = r;
     Version  = new VersionHeader();
     Zones    = new Dictionary <ushort, ZoneData>();
 }
Beispiel #8
0
 public Djn()
 {
     Resources = new Dictionary <int, IHasResource>();
     Version   = new VersionHeader();
 }