Esempio n. 1
0
 public Human(Texture2D image, Point playerFrameSize, Vector2 position, Vector2 velocity,
              int collisionOffset, int type, int[,] movedata, SceneManager sm, Poop p)
 {
     this.image           = image;
     this.playerFrameSize = playerFrameSize;
     this.position        = position;
     this.velocity        = velocity;
     this.collisionOffset = collisionOffset;
     this.type            = type;
     this.movedata        = movedata;
     sceneManager         = sm;
     poop   = p;
     status = State.Waiting;
 }
Esempio n. 2
0
 public Human(Texture2D image, Point playerFrameSize, Vector2 position, Vector2 velocity, 
     int collisionOffset, int type, int[,] movedata, SceneManager sm, Poop p)
 {
     this.image = image;
     this.playerFrameSize = playerFrameSize;
     this.position = position;
     this.velocity = velocity;
     this.collisionOffset = collisionOffset;
     this.type = type;
     this.movedata = movedata;
     sceneManager = sm;
     poop = p;
     status = State.Waiting;
 }