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

Support options in spawnCreep #369

Merged
merged 4 commits into from
Aug 12, 2022
Merged

Conversation

chlobes
Copy link
Contributor

@chlobes chlobes commented Jun 4, 2022

Deleted the trait HasEnergyForSpawn, the old method prevented using both extensions and spawns in the same energy_structures call, making the method rather useless.

Like the screeps api, this function takes any Structures and simply ignores any that are not spawns or extensions.

setting creep memory remains unimplemented because MemoryReference is not yet implemented

@chlobes chlobes changed the title Bindgen Support options in spawnCreep Jun 4, 2022
@shanemadden shanemadden merged commit eff6958 into rustyscreeps:bindgen Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants