Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rework the entity classes #18

Merged
merged 136 commits into from
Feb 23, 2020
Merged

Conversation

XanatosX
Copy link
Member

No description provided.

}

/// <summary>
/// This method will check if an entity id is relevant for this system. It will check against the validateable list
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

text should use two lines

{
if (component is PlaceableComponent)
{
Vector2 explosionPosition = new Vector2(collisionEvent.CollisionPosition.X, collisionEvent.CollisionPosition.Y);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is to long a line break should be added


Vector2 oldPosition = placeComponent.Position;
placeComponent.Position += objVelocity;
placeComponent.Rotation = (float)Math.Atan2(placeComponent.Position.Y - oldPosition.Y, placeComponent.Position.X - oldPosition.X);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is to long a line break should be added

{
continue;
}
spriteBatch.Draw(visibleComponent.Texture, visibleComponent.Destination, visibleComponent.Source, visibleComponent.Color, placeableComponent.Rotation, Vector2.Zero, SpriteEffects.None, 1f);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is to long a line break should be added

/// <param name="displace">The displace value to use</param>
/// <param name="roughness">The roughness to use</param>
/// <param name="randomizer">The randomizer to use</param>
public MidpointDisplacementGenerator(GraphicsDevice graphicsDevice, float displace, float roughness, IRandomizer randomizer)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is to long

@XanatosX XanatosX moved this from In progress to Reviewing in Playable game Feb 19, 2020
@XanatosX XanatosX added the engine Engine relevant ticket label Feb 19, 2020
@XanatosX XanatosX merged commit 768147f into develop Feb 23, 2020
Playable game automation moved this from Reviewing to Done Feb 23, 2020
@XanatosX XanatosX deleted the feature/rework-the-entity-classes branch February 23, 2020 10:03
XanatosX added a commit that referenced this pull request Jan 11, 2022
…classes

Feature/rework the entity classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Engine relevant ticket rework/refactor Something is badly written and should be refactored/reworked so it can be maintained more easily
Projects
Playable game
  
Done
1 participant