![]() |
Universal class
Perhaps it would be interesting to make a universal class, joined by every object...
Such would allow functions such as these: PHP Code:
TGraalVar would join class TGraalVar... TStaticVar would join class TStaticVar? Maybe make an init phase so that you could do something like: PHP Code:
http://wiki.graal.net/index.php/Crea...F_Object_Types Example: GuiArrayControl would join classes: GuiArrayControl, GuiControl, and TGraalVar |
Joining classes means some overhead in the execution of scripts (and more network traffic since it needs to tell the clients when an object joins a class). You can let the objects join those classes manually though?
|
Nice idea, but, is there really a point?
|
Adding more functions to the client itself.
If they all add a class ( of set name ) to every single thing, wouldn't it be mundane to tell it joined a class that it is already aware that it would join it no matter what? Briefly: If they joined a predefined name, it wouldn't need to tell it joined that class, because everything joins it. ( so they can consider they joined the universal class(es) without actually telling everyone about it ) |
All times are GMT +2. The time now is 05:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.