Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет nancygold ([info]nancygold)
@ 2024-01-16 01:06:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Настроение: contemplative
Entry tags:gamedev

Inheritance Trichotomy
I broke my unit entity across area, world and cosmos levels.

Now each level of unit entity also inherits from a unit class object, shared by all instance on all detalization levels.

Therefore each level inherits both from the upper level and from the class.

Finally it feels like my type system reached the next level of obscurity, after simulating classic OOP with database tables.



(Читать комментарии) - (Добавить комментарий)


[info]nancygold
2024-01-17 12:09 (ссылка)
It is more flexible, since everything is by default stored in a keyed database format. Each object is represented by unique id (database key)

(Ответить) (Уровень выше)


(Читать комментарии) -