Commit Graph

6 Commits

Author SHA1 Message Date
Faymoon 7c5b0df96c Make all component inherits of HandledObject (#185)
* Update

* Add: [Get/Set]AngularDaming for standardization

* Fix: Name error

* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D

* Forgot in last commit

* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter

* Add: Some forgotten inline

* Fix little error

* Fix: Indentation before case

* Move and Change GetCenterOfGravity

* Rename m_world into m_physWorld

* Rename GetWorld int GetPhysWorld

* Update: PhysicsSystem2D became an interface of PhysWorld2D

* Update Collison/PhysicsComponent because GetWorld was renamed

* Update tests

* Update: Make the interface usable with Entity instead of PhysicsComponent

* Update: Make GetPhysWorld private

* Update PhysicsSystem2D.hpp

* Update: indent

* Remove: useless blank line

* update order(?)

* Update PhysicsSystem2D.hpp

* Add calls to GetPhysWorld to attempt a nullptr value

* update include

* little fix

* add some missing inline

* Fix

* Make all component inherits of HandledObject

* fix: compilation error

* Add Handle alias for all Components

* forgot in last commit
2018-09-08 10:28:25 +02:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 06dd70d039 SDK/ParticleGroupComponent: Fix ParticleGroupComponent not being a handled object
Former-commit-id: 7dbe5f2288359a3cb9c90f1ffd3e010267cff137 [formerly 4279de72db6b2bf3df4465a193b8117291b1cec9] [formerly d1273d67b4befe12a886274b582689c59df1034b [formerly 1cbab93dc9494d2e9bb81637238cd3ee0683f294]]
Former-commit-id: 62415a394f4337dc0fcf01fa180aff8beff0bbe9 [formerly 8b4ae9d8ba4392ec4e6f14e471080fa1021b552d]
Former-commit-id: 278a94e669730dd8344d294de3039ecd870a0d18
2016-08-14 17:56:36 +02:00
Lynix 0668988a0f SDK/ParticleGroupComponent: Add [Add|Remove]Emitter methods taking an entity
The entity must have a ParticleEmitterComponent


Former-commit-id: 4b6398f047dfee8d04d94f15634b9038078a609f [formerly 36b19eaef4fea6c2d16268c03a369c4797328693] [formerly c8a88f2feb4f80f88899d0ec8c3c0ff1bfad7723 [formerly dd95678311adfaa838dec8a31582f034e6321912]]
Former-commit-id: 11cd0fb53279a586f39bafcf205289a945e4c568 [formerly f698d4deae6a0a0a06759acef864af778b7967ca]
Former-commit-id: 660b25d6021b2f770d8d2c94240dbdacfa41f48a
2016-08-10 22:52:29 +02:00
Lynix 654b52bb0c Sdk: Integrate particles
Former-commit-id: 48dac6b378c45130c43f5b8214a7b13a35cf06d1 [formerly c874b77869e750df33a1e77fdb40747b543b2efa]
Former-commit-id: a2c06e5f2b0fe3dd1c74ce2835436a7219260bf8
2016-07-30 15:51:46 +02:00