コード例 #1
0
ファイル: World.cs プロジェクト: shuningzhou/Physics2D
 public World()
 {
     this.objects           = new HashSet <PhysicsObject>();
     this.edges             = new HashSet <Edge>();
     this.ContactGenerators = new ContactRegistry(this.objects, this.edges);
 }
コード例 #2
0
ファイル: World.cs プロジェクト: lenkasetGitHub/Physics2D
 public World()
 {
     _objects          = new HashSet <PhysicsObject>();
     _edges            = new HashSet <Edge>();
     ContactGenerators = new ContactRegistry(_objects, _edges);
 }