mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-19 22:25:59 +00:00
21 lines
379 B
C++
21 lines
379 B
C++
#pragma once
|
|
|
|
#include "entity.hpp"
|
|
|
|
namespace dyna
|
|
{
|
|
|
|
// The level-exit portal. Unlike the other entities its coordinates are stored in
|
|
// grid units (it draws via draw_square), matching bonus.cs.
|
|
class Vortex : public Entity
|
|
{
|
|
public:
|
|
Vortex( int gx, int gy );
|
|
|
|
void draw() override;
|
|
void tick( World& world ) override;
|
|
void die( World& world ) override;
|
|
};
|
|
|
|
}
|