-
Notifications
You must be signed in to change notification settings - Fork 45
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
Implement various methods. #38
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d8f45c6
Implement various methods.
ASalvail a76d1ac
Market complex methods
ASalvail 4664e3e
Flaggy Flag!
ASalvail 3069b27
Mineral + ResourceType conversion to string
ASalvail 34964e2
Nukes to ruin your day
ASalvail 79ca6a7
Add some methods to Room
ASalvail f4d650f
Add a method for RoomPosition
ASalvail 7d284b5
Add a CanStoreEnergy trait
ASalvail b3d642e
Add a HasCooldown trait
ASalvail b32bfa9
Add method to KeeperLair in mod.rs
ASalvail bfb79c6
Add StructureLab module and conversion from string to Resource type
ASalvail 4308afa
Add structure_link module and implement method
ASalvail 2d0735d
Add structure_nuker mod + implement methods
ASalvail 3869700
Add structure_observer mod
ASalvail fc74433
Add trait CanDecay
ASalvail 5661dbc
Add PowerBank accessor to mod.rs
ASalvail c8e84ed
Add structure_power_spawn module
ASalvail f350548
Add structure_portal module
ASalvail 8c36aa6
Add structure_rampart module
ASalvail 756a96f
Add structure_terminal module
ASalvail ca8a521
Add structure_tower module
ASalvail 0dde821
Import all changes into impls module
ASalvail d7514e2
Add new trait to prelude
ASalvail 82f81a2
Moved hits and hitsMax to the Attackable trait
ASalvail 75418e3
Addressed small changes from @daboross review.
ASalvail 4420339
Transfers string conversion to JS side for ResourceType
ASalvail 402c5fd
Converts OrderType to a number repr for quick transfer
ASalvail d5c1a05
Removed Attackable trait from StructureController
ASalvail File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you do want to keep this method in, I don't think it would hurt.
If we want to add in a typed
OrderType
to the transactions, theserde
translation code would have to use strings anyways sincestdweb
turns it into JSON before loading it in.