|
| sprite () |
|
| sprite (const colour &aColour) |
|
| sprite (const i_texture &aTexture, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| sprite (const i_image &aImage, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| sprite (const i_texture &aTexture, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| sprite (const i_image &aImage, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| sprite (const sprite &aOther) |
|
object_category | category () const override |
|
const i_shape & | as_shape () const override |
|
i_shape & | as_shape () override |
|
const i_collidable_object & | as_collidable_object () const override |
|
i_collidable_object & | as_collidable_object () override |
|
const i_physical_object & | as_physical_object () const override |
|
i_physical_object & | as_physical_object () override |
|
uint64_t | collision_mask () const override |
|
void | set_collision_mask (uint64_t aMask) override |
|
bool | killed () const override |
|
void | kill () override |
|
void | animation_finished () override |
|
vec3 | origin () const override |
|
vec3 | position () const override |
|
mat44 | transformation_matrix () const override |
|
const optional_path & | path () const override |
|
void | set_origin (const vec3 &aOrigin) override |
|
void | set_position (const vec3 &aPosition) override |
|
void | set_path (const optional_path &aPath) override |
|
void | clear_vertices_cache () override |
|
void | clear_aabb_cache () override |
|
bool | update (const optional_time_interval &aNow, const vec3 &aForce) override |
|
const optional_time_interval & | update_time () const override |
|
void | set_update_time (const optional_time_interval &aLastUpdateTime) override |
|
const neogfx::aabb & | aabb () const override |
|
virtual | ~i_sprite () |
|
virtual | ~i_shape () |
|
void | set_origin (const vec2 &aOrigin) |
|
void | set_origin (const point &aOrigin) |
|
void | set_position (const vec2 &aPosition) |
|
void | set_position (const point &aPosition) |
|
void | set_extents (const vec2 &aExtents) |
|
void | set_extents (const size &aExtents) |
|
virtual | ~i_game_object () |
|
virtual const object_type & | type () const |
|
virtual | ~i_physical_object () |
|
void | set_angle_radians (scalar aAngle) |
|
void | set_angle_degrees (scalar aAngle) |
|
void | set_spin_radians (scalar aSpin) |
|
void | set_spin_degrees (scalar aSpin) |
|
| shape () |
|
| shape (const colour &aColour) |
|
| shape (const i_texture &aTexture, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (const i_image &aImage, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (const i_texture &aTexture, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (const i_image &aImage, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (i_shape_container &aContainer) |
|
| shape (i_shape_container &aContainer, const colour &aColour) |
|
| shape (i_shape_container &aContainer, const i_texture &aTexture, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (i_shape_container &aContainer, const i_image &aImage, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (i_shape_container &aContainer, const i_texture &aTexture, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (i_shape_container &aContainer, const i_image &aImage, const rect &aTextureRect, const optional_animation_info &aAnimationInfo=optional_animation_info()) |
|
| shape (const shape &aOther) |
|
vertex_list_pointer | vertices () const override |
|
texture_list_pointer | textures () const override |
|
face_list | faces () const override |
|
face_list | active_faces () const override |
|
void | activate_faces (face_list aActiveFaces) const override |
|
const vertex_list & | transformed_vertices () const override |
|
void | set_vertices (vertex_list_pointer aVertices) override |
|
void | set_textures (texture_list_pointer aTextures) override |
|
void | set_faces (face_list aFaces) override |
|
const i_shape_container & | container () const override |
|
i_shape_container & | container () override |
|
bool | is_tag () const override |
|
i_shape & | tag_of () const override |
|
void | set_tag_of (i_shape &aTagOf, const vec3 &aOffset=vec3{}) override |
|
const vec3 & | tag_offset () const override |
|
void | set_tag_offset (const vec3 &aOffset) override |
|
void | unset_tag_of () override |
|
frame_index | frame_count () const override |
|
const i_shape_frame & | shape_frame (frame_index aFrameIndex) const override |
|
i_shape_frame & | shape_frame (frame_index aFrameIndex) override |
|
void | add_frame (i_shape_frame &aFrame) override |
|
void | add_frame (std::shared_ptr< i_shape_frame > aFrame) override |
|
void | replace_frame (frame_index aFrameIndex, i_shape_frame &aFrame) override |
|
void | replace_frame (frame_index aFrameIndex, std::shared_ptr< i_shape_frame > aFrame) override |
|
void | remove_frame (frame_index aFrameIndex) override |
|
const animation_frames & | animation () const override |
|
bool | repeat_animation () const override |
|
const animation_frame & | current_animation_frame () const override |
|
bool | has_animation_finished () const override |
|
frame_index | current_frame_index () const override |
|
const i_shape_frame & | current_frame () const override |
|
i_shape_frame & | current_frame () |
|
vec3 | extents () const override |
|
rect | bounding_box_2d (bool aWithPosition=true) const override |
|
void | set_animation (const animation_frames &aAnimation) override |
|
void | set_current_frame (frame_index aFrameIndex) override |
|
void | clear_extents () override |
|
void | set_extents (const vec3 &aExtents) override |
|
bool | has_transformation_matrix () const override |
|
void | clear_transformation_matrix () override |
|
void | set_transformation_matrix (const mat33 &aTransformationMatrix) override |
|
void | set_transformation_matrix (const mat44 &aTransformationMatrix) override |
|
bool | update (time_interval aNow) override |
|
void | paint (graphics_context &aGraphicsContext) const override |
|
| physical_object () |
|
| physical_object (const physical_object &aOther) |
|
vec3 | angle_radians () const override |
|
vec3 | angle_degrees () const override |
|
vec3 | velocity () const override |
|
vec3 | acceleration () const override |
|
vec3 | spin_radians () const override |
|
vec3 | spin_degrees () const override |
|
scalar | mass () const override |
|
void | set_angle_radians (const vec3 &aAngle) override |
|
void | set_angle_degrees (const vec3 &aAngle) override |
|
void | set_velocity (const vec3 &aVelocity) override |
|
void | set_acceleration (const vec3 &aAcceleration) override |
|
void | set_spin_radians (const vec3 &aSpin) override |
|
void | set_spin_degrees (const vec3 &aSpin) override |
|
void | set_mass (scalar aMass) override |
|
const neogfx::aabb & | saved_aabb () const override |
|
void | save_aabb () override |
|
void | clear_saved_aabb () override |
|
bool | collidable () const override |
|
bool | has_collided (const i_collidable_object &aOther) const override |
|
void | collided (i_collidable_object &aOther) override |
|
uint32_t | collision_update_id () const override |
|
void | set_collision_update_id (uint32_t aCollisionUpdateId) override |
|
Definition at line 28 of file sprite.hpp.