LCOV - code coverage report
Current view: top level - src - physics.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2020-10-15 20:26:03 Functions: 1 1 100.0 %

          Line data    Source code
       1             : //
       2             : //  physics.h
       3             : //  minirl
       4             : //
       5             : //  Created by Benjamin Porter on 2/1/18.
       6             : //  Copyright © 2018 Benjamin Porter. All rights reserved.
       7             : //
       8             : 
       9             : #ifndef physics_hpp
      10             : #define physics_hpp
      11             : 
      12             : #include "entity.h"
      13             : #include "util.h"
      14             : 
      15             : enum PhysicsType { Projectile, Static };
      16             : 
      17           5 : class Physics : public Component {
      18             : public:
      19             :     PhysicsType type{Static};
      20             :     vec2d position{0, 0};
      21             :     vec2d velocity{0, 0};
      22             : };
      23             : 
      24             : #endif /* physics_hpp */

Generated by: LCOV version 1.13