Ok, I've got an object created but I can't create two Old Skool Blitz style.
I'm guessing I need to use a Tlist. But what I don't understand is the way you can create one type in a variable without needing a list.
Have a Pat Butcher's:-
I'm guessing I need to use a Tlist. But what I don't understand is the way you can create one type in a variable without needing a list.
Have a Pat Butcher's:-
Type Vector2D Field _x:Int = 0 Field _y:Int = 0 End Type Global MyVector2D:Vector2D = New Vector2D MyVector2D._x = 50 MyVector2D._y = 70 MyVector2D:Vector2D = New Vector2D MyVector2D._x = 10 MyVector2D._y = 90 FUnction Render() DrawText "TEST",50,50 Local p:Int = 0 For MyVector2D:Vector2D = EachIn Vector2D DrawText MyVector2D._x,50, 80+p DrawText MyVector2D._y,50, 90+p p :+ 50 Next End Function