unit sprites and a buncha other stuff
This commit is contained in:
parent
e45eb49492
commit
a537ea5cf2
37 changed files with 516 additions and 17 deletions
|
@ -3,7 +3,7 @@ function c_inheritunit(x, y, unit_) {
|
|||
chump.data = unit_;
|
||||
chump.pos.x = x;
|
||||
chump.pos.y = y;
|
||||
chump.sprite_index = unit_.sprite;
|
||||
chump.sprite_index = unit_.idle;
|
||||
array_push(global.map[x][y].contents, chump);
|
||||
return chump;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue