public GameActor(GameWorld world, Vector2 position, Vector2 velocity, float diameter, Vector2 size, Vector2 world2model, int imgIndex, int maxlife)
     : base(world, position, velocity, diameter, size, world2model)
 {
     life = new Life(this, maxlife);
 }
예제 #2
0
 public Player(GameWorld world, team_t team)
 {
     this.world = world;
     this.team  = team;
     this.units = TeamDictionary.TeamDict[team].ActorList;
 }