You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Character.Ghost.cs 786 B

12345678910111213141516171819202122232425262728
  1. using GameClass.Skill;
  2. using Preparation.Interface;
  3. using Preparation.Utility;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Numerics;
  7. using System.Runtime.InteropServices;
  8. using System.Threading;
  9. namespace GameClass.GameObj
  10. {
  11. public class Ghost : Character
  12. {
  13. public Ghost(XY initPos, int initRadius, PlaceType initPlace, CharacterType characterType) : base(initPos, initRadius, initPlace)
  14. {
  15. switch (characterType)
  16. {
  17. case CharacterType.Assassin:
  18. this.Occupation = new Assassin();
  19. break;
  20. default:
  21. this.Occupation = null;
  22. break;
  23. }
  24. this.CharacterType = characterType;
  25. }
  26. }
  27. }