Add() static private method

static private Add ( ModWorld modWorld ) : void
modWorld ModWorld
return void
Esempio n. 1
0
 public void AddModWorld(string name, ModWorld modWorld)
 {
     modWorld.Name = name;
     worlds[name]  = modWorld;
     modWorld.mod  = this;
     WorldHooks.Add(modWorld);
 }
Esempio n. 2
0
        protected sealed override void Register()
        {
            ModTypeLookup <ModWorld> .Register(this);

            WorldHooks.Add(this);
        }