#pragma once
#include "Actor/Object/BaseObject.h"

class ActiveObject : public BaseObject
{

public:
    // 三轴速度
    VecSpeed3 Speed;
    // 三轴移动余数
    VecPos3 Remainder;
    int _zRemainderMove = 0;

public:
    void
    SetPosition(VecPos3 pos) override;
    void SetYpos(int y) override;

    void SetSpeed(VecSpeed3 speed);
    VecSpeed3 GetSpeed();

public:
    void Update(float deltaTime) override;
};
