コード例 #1
0
        public SimplePhysicsComponent(ObjectShell parent)
            : base(parent)
        {
            this.speed = speed;
            movementVector = Vector2.Zero;

            size = Vector2.Zero;
        }
コード例 #2
0
 public EmptyPhysicComponent(ObjectShell parent)
     : base(parent)
 {
 }
コード例 #3
0
 public EmptyControllerComponent(ObjectShell parent)
     : base(parent)
 {
 }
コード例 #4
0
 protected GraphicComponent(ObjectShell parent, string textureAsset)
     : base(parent)
 {
     this.textureAsset = textureAsset;
 }
コード例 #5
0
 public PlayerController(ObjectShell parent)
     : base(parent)
 {
     inputVector = Point.Zero;
 }
コード例 #6
0
ファイル: StaticGraphic.cs プロジェクト: Rosthouse/JumpNRun
 public StaticGraphic(ObjectShell parent, string textureAsset)
     : base(parent, textureAsset)
 {
 }
コード例 #7
0
ファイル: MovingGraphics.cs プロジェクト: Rosthouse/JumpNRun
 public MovingGraphics(ObjectShell parent, string texture)
     : base(parent, texture)
 {
     physicsComponent = new PhysicsComponents.EmptyPhysicComponent(parent);
 }
コード例 #8
0
 public NoPhysicsComponent(ObjectShell parent)
     : base(parent)
 {
     collisionObject = null;
     size = Vector2.Zero;
 }
コード例 #9
0
 public EmptyGraphicComponent(ObjectShell parent)
     : base(parent, "Error")
 {
 }
コード例 #10
0
 public WalkLeftControllerComponent(ObjectShell parent)
     : base(parent)
 {
 }
コード例 #11
0
ファイル: PhysicComponent.cs プロジェクト: Rosthouse/JumpNRun
 protected PhysicComponent(ObjectShell parent)
     : base(parent)
 {
     position = Vector2.Zero;
 }
コード例 #12
0
 protected ControllerComponent(ObjectShell parent)
     : base(parent)
 {
 }
コード例 #13
0
ファイル: BaseComponent.cs プロジェクト: Rosthouse/JumpNRun
 public BaseComponent(ObjectShell parent)
 {
     this.parent = parent;
 }