added zombie texture and basic ki
Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
export default class TextElement {
|
||||
constructor(scene, item) {
|
||||
this.scene = scene;
|
||||
this.text = scene.add.text(item.x, item.y, item.text.text, {
|
||||
this.text = scene.add.text(Math.ceil(item.x), Math.ceil(item.y), item.text.text, {
|
||||
fontFamily: item.text.fontfamily || "Consolas",
|
||||
fontSize: item.text.pixelsize || 16,
|
||||
align: item.text.halign || "center",
|
||||
|
||||
Reference in New Issue
Block a user