mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-12-18 02:15:19 +00:00
Compare commits
2 commits
97d85aa841
...
ec21a22e30
Author | SHA1 | Date | |
---|---|---|---|
ec21a22e30 | |||
aebf4c2d59 |
|
@ -5,6 +5,12 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace "io.github.doukutsu_rs"
|
||||
|
||||
/**
|
||||
* NOTE: If you want to change the versions of packages required for the build
|
||||
* (e.g. build tools, compile SDK, NDK) or add new ones,
|
||||
* make the appropriate changes in packages.txt. Otherwise CI could break.
|
||||
*/
|
||||
compileSdkVersion 33
|
||||
buildToolsVersion "33.0.0"
|
||||
ndkVersion "25.2.9519653"
|
||||
|
|
|
@ -296,6 +296,9 @@ impl NPC {
|
|||
}
|
||||
|
||||
self.anim_rect = state.constants.npc.n123_curly_boss_bullet[self.direction as usize];
|
||||
} else {
|
||||
self.x += self.vel_x;
|
||||
self.y += self.vel_y;
|
||||
}
|
||||
|
||||
if match self.direction {
|
||||
|
@ -312,8 +315,6 @@ impl NPC {
|
|||
return Ok(());
|
||||
}
|
||||
|
||||
self.x += self.vel_x;
|
||||
self.y += self.vel_y;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue