multiple frames now added and working
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// src/render/player_positioning.h
|
||||
#pragma once
|
||||
#include "../assets/background_frame.h"
|
||||
#include "../assets/character_frames.h"
|
||||
#include "player.h"
|
||||
|
||||
struct CharacterPosition {
|
||||
int x;
|
||||
@@ -9,4 +9,4 @@ struct CharacterPosition {
|
||||
};
|
||||
|
||||
// Calculates drawing position relative to bottom-left pivot
|
||||
CharacterPosition get_aligned_frame_position(CharacterPosition base, CharacterFrame frame);
|
||||
CharacterPosition get_aligned_frame_position(CharacterPosition base, MovementType movement,int frame_index);
|
||||
|
||||
Reference in New Issue
Block a user