public PlayerActor(World world, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) : base(world, animations, sysanimations, actions) { ImmuneGravity = false; DefaultGravity = 1.0f; Priority = 100; CollisionEnabled = true; }
public BulletActor(World world, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) : base(world, animations, sysanimations, actions) { ImmuneGravity = true; IsInAir = true; DefaultGravity = 0.0f; Priority = 300; CollisionEnabled = false; }
public Actor(World theWorld, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) { this.World = theWorld; this.Animations = animations; this.SystemAnimations = sysanimations; this.Actions = actions; this.ScaleX = 1; this.ScaleY = 1; this.Alpha = 1.0f; this.Red = 1.0f; this.Green = 1.0f; this.Blue = 1.0f; this.ImmuneGravity = true; this.IsInAir = true; }