public void CreateMyself() { EntityParent myself = new EntityMyself(); this.MySelf = myself as EntityMyself; EntityInfo info = new EntityInfo(++CreateEntityIndex, (int)EntityType.主角, 100, 10, EntityType.主角.ToString(), 0); myself.SetEntityInfo(info); myself.EnterLevel(); this.dicCreateEntitys.Add(myself.EntityId, myself); }