Skip to content
#

spatialos

Here are 38 public repositories matching this topic...

jamiebrynes7
jamiebrynes7 commented Mar 21, 2019

Currently, the only way to create generated types is to use the object initializer syntax (or at least that's what its called in C#). Instead, we should provide a constructor as well to cut down the verbosity.

Currently we have:

improbable::Coordinates { 
	x: 0.0, 
	y: 0.0, 
	z: 0.0 
}

where we could have:

improbable::Coordinates::new(0.0, 0.0, 0.0)

Improve this page

Add a description, image, and links to the spatialos topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the spatialos topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.