Explorar el Código

fix PlayerEntity::get

opengl-renderer-broken
Martin Dørum hace 3 años
padre
commit
f040f51b04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      core.mod/src/entities/PlayerEntity.h

+ 1
- 1
core.mod/src/entities/PlayerEntity.h Ver fichero

@@ -8,8 +8,8 @@ public:
PlayerEntity(const Swan::Context &ctx, Swan::Vec2 pos);
PlayerEntity(const Swan::Context &ctx, const PackObject &obj);

using PhysicsEntity::get;
Inventory &get(InventoryTrait::Tag) override { return inventory_; }
Body &get(BodyTrait::Tag) override { return body_; }

void draw(const Swan::Context &ctx, Swan::Win &win) override;
void update(const Swan::Context &ctx, float dt) override;

Cargando…
Cancelar
Guardar