Beispiel #1
0
 public PlayerBehaviour(bool isGood, BucketList todoList, int spriteNum, Entity entity) : base(entity)
 {
     IsGood             = isGood;
     TodoList           = todoList;
     HasGroceries       = false;
     orientationManager = new SpriteOrientationManager(spriteNum, Entity);
 }
Beispiel #2
0
        public PersonBehavior(int spriteNum, List <Vector3> targetPoints, Entity entity) : base(entity)
        {
            TargetPoints       = targetPoints;
            orientationManager = new SpriteOrientationManager(spriteNum, Entity);

            point          = Utils.Random.Next(0, targetPoints.Count);
            Position       = targetPoints[point];
            curTargetPoint = targetPoints[point];
        }