Shortcut to refer to a type field?

BlitzMax Forums/BlitzMax Beginners Area/Shortcut to refer to a type field?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Why would you go Player.Sprite.x and Player.Sprite.y?

E N C A P S U L A T E

Player.SetSpriteDetails(50,50,.5,.5,.5)

In SetSpriteDetails(x,y,w,h,a)

sprite.SetDetails(x,y,w,h,a)

Aaron