Skip to content

MinChengVivLabs/example.inheritance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Bixby Example Capsule -- example.inheritance

Purpose

The purpose of this example is to demonstrate how and when to use role-of or extends in Bixby

Summary

  • Assume TypeBase is the base concept, and TypeChild is the role-of or extends concept.
  • role-of only:
    • TypeBase can be feed into action requires TypeChild
    • NO new property in TypeChild
  • extends only:
    • TypeChild can be feed into action requires TypeBase
    • Allow new property in TypeChild
  • role-of and extends together:
    • TypeBase can be feed into action requires TypeChild
    • TypeChild can be feed into action requires TypeBase
    • NO new property in TypeChild
  • This capsule use StructGoPlayer as TypeBase and StructGoPlayerBlack, StructGoPlayerWhite, and StructGoObserver as TypeChild concept.

Notes

Resources

Bixby Developer Resources:

Need Help?

  • If you are stuck or need assistance, feel free to reach out to us. We are here to help you with any questions or point you to the right areas of the Bixby Developer Center or the Bixby Help Center. You can reach us by sending your questions via email to support@bixbydevelopers.com.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors