mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
MobsIa MobsCorsACorps modifier + sprite ennemie
This commit is contained in:
@ -1,13 +1,35 @@
|
||||
#pragma once
|
||||
#include "MobsCorpACorp.h"
|
||||
#include "MobsIA.h"
|
||||
class MobsCorpACorpIA :
|
||||
public MobsIA
|
||||
#include <CircleShape2D.hpp>
|
||||
#include <CollisionShape2D.hpp>
|
||||
#include <Sprite.hpp>
|
||||
#include "MobsCorpACorp.h"
|
||||
|
||||
using namespace godot;
|
||||
|
||||
class MobsCorpACorpIA : public MobsIA
|
||||
{
|
||||
|
||||
|
||||
|
||||
public:
|
||||
MobsCorpACorp m;
|
||||
public:
|
||||
MobsCorpACorpIA();
|
||||
|
||||
void static _register_methods();
|
||||
void _process(float delta) override;
|
||||
void _init() override;
|
||||
void _ready() override;
|
||||
|
||||
void createMobsCorpACorp();
|
||||
void setupMobsCorpACorp();
|
||||
|
||||
public:
|
||||
void Action();
|
||||
};
|
||||
|
||||
private:
|
||||
Vector2 velocity;
|
||||
Vector2 FLOOR;
|
||||
};
|
||||
|
Reference in New Issue
Block a user