initial commit

This commit is contained in:
Dan Priece
2026-05-19 09:15:34 -04:00
commit f4201b974b
21 changed files with 2130 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "ProjectileProfile.h"
// Constructor implementation
ProjectileProfile::ProjectileProfile() {}
ProjectileProfile::ProjectileProfile(String name, ProjectileType type, float caliber, float weight) {
strcpy(_name, name.c_str());
_type=type;
_caliber=caliber;
_weight=weight;
}
String ProjectileProfile::getName(){return String(_name);}
float ProjectileProfile::getWeight(){return _weight;}
String ProjectileProfile::getType(){if (_type==PELLET){return "Pellet";}else{return "Slug";}}
float ProjectileProfile::getCaliber(){return _caliber;}