playground and object drawer skeleton

This commit is contained in:
2023-07-06 16:35:14 +02:00
parent 701205ac82
commit 2fcf6f4fdc
11 changed files with 56 additions and 20 deletions

View File

@@ -29,6 +29,22 @@ func (d *Domain) InitLevel() {
},
},
},
{
ID: "test_object2",
Position: entity.Position{
X: 50,
Y: 50,
Z: 0,
},
Type: entity.ObjectType{
ID: "test_object_type",
Render: entity.Render{
Image: "assets/images/objects/test_object.png",
Width: 30,
Height: 30,
},
},
},
},
},
},