コード例 #1
0
ファイル: Human.cs プロジェクト: Telos8840/TestGame
 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;
 }
コード例 #2
0
ファイル: Human.cs プロジェクト: Telos8840/TestGame
 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;
 }