Field Extends GameObject
Type TGameObject
Field X:Float Field Y:Float Field Image:Timage Method DrawSelf() ' DrawImage Image,X*5,Y*5 End Method End Type Type TStartMenuSerdce Extends TGameObject Field Z:Float Method DrawSelf() DrawImage Image,X*5,Y*5 End Method End Type Для того, чтобы получить значение Field X, из Метода любого объекта: For Local a:TGameObject = EachIn GameObjectList a.X=1 Next Подскажите как получить значение поля Z ? |
Ответ: Field Extends GameObject
Код:
if TStartMenuSerdce(a) then |
Часовой пояс GMT +4, время: 09:36. |
vBulletin® Version 3.6.5.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot