mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 10:02:12 +00:00
13 lines
599 B
Plaintext
13 lines
599 B
Plaintext
// Used by playing cards; /obj/item/hand
|
|
// Subtype exists because of sendResources; these must be sent when the client connects.
|
|
|
|
/datum/html_interface/cards/New()
|
|
. = ..()
|
|
|
|
src.head = src.head + "<link rel=\"stylesheet\" type=\"text/css\" href=\"cards.css\" />"
|
|
src.updateLayout("<div id=\"headbar\"></div><div class=\"wrapper\"><table><tr><td style=\"vertical-align: middle;\"><div id=\"hand\"></div></td></tr></table></div>")
|
|
|
|
/datum/html_interface/cards/registerResources(var/list/resources = list())
|
|
resources["cards.css"] = 'cards.css'
|
|
resources["cards.png"] = 'cards.png'
|
|
..(resources) |