00001 #pragma once 00002 00003 #include "vec3.h" 00004 #include <vector> 00005 #include "Texture.h" 00006 00007 00009 00013 class ArrowContainer 00014 { 00015 public: 00016 ArrowContainer(vec3 pos, vec3 vel) 00017 { 00018 position = pos; 00019 velocity = vel; 00020 }; 00021 vec3 position; 00022 vec3 velocity; 00023 }; 00024 00026 00029 class Arrows 00030 { 00031 public: 00035 Arrows(void); 00039 Arrows(bool); 00043 ~Arrows(void); 00044 00048 void AddArrow(vec3 pos, vec3 vel); 00052 void SetArrow(int index, vec3 pos, vec3 vel); 00056 ArrowContainer GetArrow(int index); 00060 void DeleteArrow(int index); 00061 00065 std::vector<ArrowContainer> arrows; 00069 Texture* texture; 00070 };