Esempio n. 1
0
        public WorldObjectBase(string name, List <IItem> items, Objects objectType, ObjectActions objectActionType)
        {
            ObjectId = WorldObjectManager.GetUniqueWorldObjectId();
            WorldObjectManager.AddWorldObject(this);

            Name             = name;
            Items            = items;
            ObjectType       = objectType;
            ObjectActionType = objectActionType;
        }