Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 9acb3b303b - Show all commits

View file

@ -1,4 +1,5 @@
local MessageQueue = Object:extend()
local GuiElement = require "birb.modules.gui.elements.parent"
local MessageQueue = GuiElement:extend()
local Message = require "game.modules.messagequeue.message"
local MAX = 3
@ -6,6 +7,8 @@ function MessageQueue:new(scene)
self.messages = {}
self.permaMessage = nil
self.scene = scene
MessageQueue.super.new(self, "messageQueue", 0, 0, 424, 240)
self.depth = 0
end
function MessageQueue:addMessage(newMessage)