Weapon.cs 435 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Artemis;
  6. namespace StarWarrior.Components
  7. {
  8. class Weapon : Component
  9. {
  10. private long shotAt;
  11. public Weapon()
  12. {
  13. }
  14. public void SetShotAt(long shotAt)
  15. {
  16. this.shotAt = shotAt;
  17. }
  18. public long GetShotAt()
  19. {
  20. return shotAt;
  21. }
  22. }
  23. }