looks like battle animations to me
This commit is contained in:
parent
64a74d6f36
commit
b0e718f879
12 changed files with 107 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
function c_moveunit(targetunit, destination) {
|
||||
var theguy = c_gettile(targetunit.pos.x, targetunit.pos.y);
|
||||
log(theguy.contents);
|
||||
if !array_remove(theguy.contents, targetunit) idhfnjg();
|
||||
/*if !*/array_remove(theguy.contents, targetunit) //idhfnjg();
|
||||
array_push(destination.contents, targetunit);
|
||||
targetunit.pos.x = destination.x;
|
||||
targetunit.pos.y = destination.y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue