3 Star 1 Fork 1

DuskMist / MFC_school_DoodleJump

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gameplayer.cpp 307 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ddmiurge 提交于 2022-08-31 14:33 . 加注释
#include "gameplayer.h"
//朱纯沣
GamePlayer::GamePlayer()
{
width = 40;
height = 40;
SetRXY(0,0);
HP = 100;
}
void GamePlayer::Update(double t){//如果没有重载,则自动调用GameObject的默认。
AddXY(vx* t,vy* t);
}
void GamePlayer::UpdateV(double t)
{
vy -= 10*t;
}
C++
1
https://gitee.com/duskmist/mfc_school_-doodle-jump.git
git@gitee.com:duskmist/mfc_school_-doodle-jump.git
duskmist
mfc_school_-doodle-jump
MFC_school_DoodleJump
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891