#pragma once
#include "EntityState.h"
extern const int CS_KanpaSTATENAME_WATER;
//水中状态
class CS_KanpaWater :
    public EntityState
{
public:
    CS_KanpaWater();
    void State() override;
    //水中效果
    bool fallToWater = false;
    bool setSplash = false;
    //氧气
    int o2 = 100;
    int o2_counter_max = 0;//动画计时器最大值
    int o2_counter = o2_counter_max;//动画计时器
    int o2_hide_counter_max = 60;
    int o2_hide_counter = o2_hide_counter_max;
    bool o2_show = false;
};

