ID:151280
 
I'm trying to create my own flexible library-like HUD system for learning purposes, and to hopefully use myself. How might I approach creating a flexible HUD creation that has proper borders around a block area specified?

Here's what I had before getting stumped and not knowing what I was doing in the first place:

mob
verb
show_hud()
for(var/HUDcreator/H in world)
client.screen.Add(H.HUD)

world
New()
..()

new/HUDcreator(5,5,10,10)


obj
HUD
topleft
var
screenX
screenY


HUDcreator
var
list
HUD = new
New(startX, startY, endX, endY)
var
obj
HUD
topleft
T = new
HUD += T
T.screenX = startX
T.screenY = startY