GameEntities.PlayerIntellect.OnPostCreate C# (CSharp) Method

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void
        protected override void OnPostCreate( bool loaded )
        {
            base.OnPostCreate( loaded );

            Faction = (FactionType)EntityTypes.Instance.GetByName( "GoodFaction" );
            if( Faction == null )
                Log.Fatal( "PlayerIntellect: OnPostCreate: Faction == null." );

            AllowTakeItems = true;

            AddTimer();
        }