ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
asw::game::Physics Class Reference

Physics Component. More...

#include <game.h>

Collaboration diagram for asw::game::Physics:
[legend]

Public Attributes

asw::Vec2< float > velocity
 
asw::Vec2< float > acceleration
 
float angularVelocity {0}
 
float angularAcceleration {0}
 

Detailed Description

Physics Component.

Components

Definition at line 24 of file game.h.

Member Data Documentation

◆ acceleration

asw::Vec2<float> asw::game::Physics::acceleration

Definition at line 27 of file game.h.

◆ angularAcceleration

float asw::game::Physics::angularAcceleration {0}

Definition at line 29 of file game.h.

◆ angularVelocity

float asw::game::Physics::angularVelocity {0}

Definition at line 28 of file game.h.

◆ velocity

asw::Vec2<float> asw::game::Physics::velocity

Definition at line 26 of file game.h.


The documentation for this class was generated from the following file: